We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Legend Contains same series twice

When I add a series to a chart, the legend contains two items for that series. How do I fix that?


3 Replies

JB Jaffersathick B Syncfusion Team June 17, 2010 04:33 AM UTC

Hi John,

Thank you for using Syncfusion products.

I am afraid, that I was unable to reproduce this issue. Can you please provide us more information regarding the issue with a simple sample. so that we could sort out the cause of the issue and provide you a solution.

Please refer the following documentation links to have an better idea about the chart series and legend items.

http://help.syncfusion.com/ug_82/WindowsFormsUI_Chart/ChartLegend.html

http://help.syncfusion.com/ug_82/WindowsFormsUI_Chart/ChartSeries.html


Let me know if it helps.

Regards,
Jaffer.B


JS john simmons June 17, 2010 01:15 PM UTC

Once again, apologies - this should have been posted in the silverlight forum (do you see a pattern here?)

Scenario:
The chart is created in the xaml, along with an area and the primary and secondary axes. Nothing else is done in the xaml for the chart.

If I add a series in the C# code, I get multiple legend items for each series I add. The only way I've found to avoid this is to call Series.Clear() before adding any objects to it.



MP Murugavel P Syncfusion Team June 18, 2010 02:01 PM UTC

Hi John,

You have already created incident for this same query. We have updated for this query in the incident id 69035. Please follow up with that incident for further queries.

Thanks,
Murugavel

Loader.
Live Chat Icon For mobile
Up arrow icon