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

    Hi,

    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?

    Thanks,
    dawmail333
  2. Dwight
    Admin
    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() 
        InitializeComponent(); 
     
        this.radChart1.Series[0].Appearance.LegendDisplayMode = Telerik.Charting.ChartSeriesLegendDisplayMode.Nothing; 

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

     
    Kind regards,
    Evtim
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top