Page 1 of 1

Markers disappear when panning the XY view

Posted: Wed Apr 17, 2013 9:36 am
by SupportArchives
I've added SeriesEventMarkers and ChartEventMarkers in the chart. They work correctly, but when I pan the view so that the markers go under X axis minimum, and then pan back to original position, I don't see the markers anymore.
Marker in position
Marker in position
MarkerDisappear1.jpg (73.73 KiB) Viewed 9392 times
Panned left
Panned left
MarkerDisappear2.jpg (63.39 KiB) Viewed 9392 times
Panned back to right, marker has disappeared
Panned back to right, marker has disappeared
MarkerDisappear3.jpg (72.24 KiB) Viewed 9392 times
How to fix this?

Re: Markers disappear when panning the XY view

Posted: Wed Apr 17, 2013 10:20 am
by ArctionPasi
LightningChart has automatic destruction of out-scrolled data and markers. The chart deletes the marker in this case, when it goes under X axis minimum.
To fix that, set ViewXY.DropOldEventMarkers = False.

In v.5.1 and above, DropOldEventMarkers = True by default. In older versions, it is False by default.