SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android 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.
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!
Please login first to submit.