Drawing Gaps in Series (null data)
It is possible to have null points or gaps in multiple series types by passing a data point with Y = NaN (Not a Number). The following chart (series) types support NaN gaps.
- Line Series - with gaps or closed-lines where NaN is found
- Scatter Series
- Mountain Series - with gaps or closed-lines
- Column Series
- Candlestick/Ohlc Series
- Bubble Series
Drawing Null points with NaN
The following example shows you how to draw null points by setting Y=NaN.
Setting Y=NaN is considered a 'null point' in SciChart.js and will allow you to hide areas of the data.
tip
Note Line-based series such as Line, Mountain, Band and Spline may also be drawn as a closed-line when Y=NaN by setting BaseRenderableSeries.drawNaNAs