Series 1 always displayed when bound at runtime

2 posts, 0 answers
  1. Liam
    Liam avatar
    1 posts
    Member since:
    Sep 2007

    Posted 30 Nov 2007 Link to this post


    I have bound a pie type RadChart to a iList containing four integers.  I have added all the legend bits I need to, but there is always an extra legend entry called 'Series 1'.  How can I remove that?

  2. Dwight
    Dwight avatar
    475 posts

    Posted 03 Dec 2007 Link to this post

    Hi Liam,

    To disable the chart series labels in the legend, just change the LegendDisplayMode of the series after the data binding is complete. For example:
    public Form1() 
        this.radChart1.Series[0].Appearance.LegendDisplayMode = Telerik.Charting.ChartSeriesLegendDisplayMode.Nothing; 

    If you have further questions, do not hesitate to ask.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
Back to Top