I have a windows form which contains a pie chart (using the chartcontrol).
There are 5 datapoints in this chart which are entered using 5 numericupdown box.
I have a code that plots the pie chart and shows the label as well. However, the chart shows a "0" label when the value is 0 for a datapoint. I do not want that, I want to hide that particular label whose value is 0, and only show those whose value is not 0.
How do I do this? I tried using the chart properties but did not find anything. I also tried the following code, but that didn't work as well:

```
For Each dp As DataPoint In Chart1.Series("Series1").Points
  If dp.YValues(0) <> 0 Then
      dp.IsValueShownAsLabel = True
  End If
Next

```

Checked the chart properties for IsValueShownAsLabel. It is set to "False". The data is coming from numericupdown box in the form using `Chart1.Series("Series1").Points.AddY(NumericUpDown1.Value) Chart1.Series("Series1").Points.AddY(NumericUpDown2.Value) Chart1.Series("Series1").Points.AddY(NumericUpDown3.Value)
Chart1.Series("Series1").Points.AddY(NumericUpDown4.Value)
Chart1.Series("Series1").Points.AddY(NumericUpDown5.Value)` 

There are 5 datapoints coming from 5 numericupdown boxes.

Also, here is a [image](http://s9.postimg.org/x3ypay47v/Chart.jpg) that shows the chart. The 0.0% seen the chart is the thing that I do not want. The datapoint for the is set to 0, though it still shows up.

Any helps is appreciated.
Thanks.