This is a migrated thread and some comments may be shown as answers.

Get rid of label displayed on top of each bar

1 Answer 39 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
FISCAL
Top achievements
Rank 1
FISCAL asked on 07 Oct 2010, 05:02 PM
Hi,

Can someone tell me how can I get rid of numbers displayed on top of each bar on the chart attached as it is simply displaying the value from Y-Axis?

Many thanks.
MG

1 Answer, 1 is accepted

Sort by
0
FISCAL
Top achievements
Rank 1
answered on 08 Oct 2010, 08:57 AM
It's resolved now.

By adding following  code 

for (int i = 0; i < myChart.Series.Count; i++)
                {
                    myChart.Series[i].Appearance.LabelAppearance.Visible = false;
                }
just after

myChart.Series.Add(chartSeries);


Cheers,
MG



Tags
Chart (Obsolete)
Asked by
FISCAL
Top achievements
Rank 1
Answers by
FISCAL
Top achievements
Rank 1
Share this question
or