Hello Pasi,
the data we display in the LC sometimes contains points with an invalid y-value. In the chart we would like to mark these points with a vertical line.
When a y-value is invalid, we replace the actual value by a double.NaN. This has the effect that the chart draws a vertical line, which is the desired behaviour, but unfortunately the line sometimes disappears or flickers, e.g. when zoomin or scrolling in realtime mode.
Is the vertical line for NaN-values a feature at all? Or did we exploit a bug ? How can we make it visible all the time, regardless of the zooming factor or scrolling?
I made two screenshots that show the behavior (the series contains a NaN every hundred points or so).
Vertical lines disappear when scrolling or zooming
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Vertical lines disappear when scrolling or zooming
NaNs are not supported currently in any series. Do not use them to break data. Use ClipAreas or spawn new series after the break.
Internal NaN breaking is scheduled to this year.
Internal NaN breaking is scheduled to this year.
LightningChart Support Team, PT