Pre loader

How to toggle a series visibility?

1
0

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?

  • You must to post comments
0
0

Hi,

There is IRenderableSeries.IsVisible property, try changing its value, this should do exactly what you need.

Hope this helps!

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies