Pre loader

How to toggle a series visibility?

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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

  • andyste1
    Great! Many thanks.
  • 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