Get rid of label displayed on top of each bar

Thread is closed for posting
2 posts, 0 answers
  1. FISCAL
    FISCAL avatar
    91 posts
    Member since:
    May 2010

    Posted 07 Oct 2010 Link to this post

    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
  2. FISCAL
    FISCAL avatar
    91 posts
    Member since:
    May 2010

    Posted 08 Oct 2010 Link to this post

    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



Back to Top