Markers disappear when panning the XY view

Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.

Moderator: Queue Moderators

Post Reply
SupportArchives
Posts: 16
Joined: Tue Mar 26, 2013 11:01 pm

Markers disappear when panning the XY view

Post by SupportArchives » Wed Apr 17, 2013 9:36 am

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 9355 times
Panned left
Panned left
MarkerDisappear2.jpg (63.39 KiB) Viewed 9355 times
Panned back to right, marker has disappeared
Panned back to right, marker has disappeared
MarkerDisappear3.jpg (72.24 KiB) Viewed 9355 times
How to fix this?

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Markers disappear when panning the XY view

Post by ArctionPasi » Wed Apr 17, 2013 10:20 am

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.
LightningChart Support Team, PT

Post Reply