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

Hiding Series

2 Answers 91 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Mathias Parge
Top achievements
Rank 1
Mathias Parge asked on 21 Apr 2010, 08:32 PM

Hello,

I have a chart with 8 data series, like the live data example in the WPF Demos.

I want to hide one ore more of these series, I tried to set the SeriesVisibility of the corresponding SeriesMapping, but it doesn't seem to work. How can I achieve this without removing the SeriesMapping?

2 Answers, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 26 Apr 2010, 02:05 PM
Hi Mathias Parge,

You can toggle the visibility of the series objects by directly accessing the ChartArea.DataSeries[<index>].Definition.Visibility property after the control is data bound.

Kind regards,
Velin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mathias Parge
Top achievements
Rank 1
answered on 26 Apr 2010, 02:23 PM
Thank you very much, this solved my problem.
Tags
Chart
Asked by
Mathias Parge
Top achievements
Rank 1
Answers by
Velin
Telerik team
Mathias Parge
Top achievements
Rank 1
Share this question
or