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

Series 1 always displayed when bound at runtime

1 Answer 54 Views
Chart (obsolete as of Q1 2013)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Liam
Top achievements
Rank 1
Liam asked on 30 Nov 2007, 11:27 PM
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

1 Answer, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 03 Dec 2007, 04:18 PM
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
Tags
Chart (obsolete as of Q1 2013)
Asked by
Liam
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Share this question
or