SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

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.