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


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

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!


  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.