Control markers drawing order

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

jorge
Posts: 20
Joined: Tue Jun 28, 2016 7:54 am

Control markers drawing order

Post by jorge » Tue Sep 13, 2016 2:10 pm

I have different kind of markers, and would like some of these markers to be always on top of other markers, depending on some attribute of the marker.

Is there an easy way to do this?

Thanks

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

Re: Control markers drawing order

Post by ArctionPasi » Tue Sep 13, 2016 2:29 pm

Hi,

the rendering order of markers is defined by the order of markers in SeriesEventMarkers collection. So, just rearrange the collection respectively. Marker with index 0 renders in back.
LightningChart Support Team, PT