I would like a menuitem that toggles the visibility of a chart series. I’ve tried the following but it doesn’t work:-
FastLineRenderableSeries lineSeries;
lineSeries.Visibility = Visibility.Collapsed;
It seems that the chart ignores whatever Visibility value is set, so is there another way to do what I need?
- andyste1 asked 10 years ago
- last edited 7 years ago
- You must login to post comments
Hi,
There is IRenderableSeries.IsVisible property, try changing its value, this should do exactly what you need.
Hope this helps!
Best regards,
Yuriy
- Yuriy Zadereckiy answered 10 years ago
- Great! Many thanks.
- You must login to post comments
Please login first to submit.