I have a RadChart with four SeriesMappings that I've added to it. I want to show or hide them based on the user clicking a button. Here is the code that I'm using, but the SeriesMappings do not disappear:
I would expect the lines to disappear from the chart buy they do not. Am I missing something?
foreach (SeriesMapping sm in radChart.SeriesMappings) |
{ |
sm.SeriesDefinition.Visibility = SeriesVisibility.Collapsed; |
} |
I would expect the lines to disappear from the chart buy they do not. Am I missing something?