Pre loader

How can I insert nulls in Series Data to draw gaps?

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

Answered
1
0

Does SciChart support null values in series data?

I want to do something like:

var dataSet = new DataSeriesSet<DateTime, double?>();
var dataSeries = dataSet.AddSeries<OhlcDataSeries<DateTime, double?>>

More specifically, sometimes I want to ignore values, and sometimes the data itself is missing.

  • You must to post comments
Best Answer
1
0

Hi there and thanks for your enquiry!

Sure – you can ignore data values by inserting double.NaN in the data-series. Take a look at our Gaps in Series Example which demonstrates how we handle double.NaN, either by rendering gaps or continuous lines.

Hope this helps!

Andrew

  • 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