I have some awesome SampleSeriesMarkers working on my chart, but I have a small issue, it is showing underneath other traces.
Is there a way to make all SampleSeriesMarkers show above all other traces?
Thanks!
ViewXY SampleSeriesMarker: BringToFront?
Moderator: Queue Moderators
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: ViewXY SampleSeriesMarker: BringToFront?
SeriesEventMarkers are rendered after the owner series. To show them above all other traces, spawn a new empty dummy series after all the data series, and attach the marker to the dummy series.
LightningChart Support Team, PT
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
Re: ViewXY SampleSeriesMarker: BringToFront?
In order to spawn this dummy series, do I need to have samples in that dummy series? Memory usage of my graph is a paramount concern for me.
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: ViewXY SampleSeriesMarker: BringToFront?
No. Just an empty series. Don't put the marker track to data, set marker.HorizontalPosition = AtXValue, VerticalPosition = AtYValue, and set XValue and YValue to X,Y you solved.
LightningChart Support Team, PT
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
Re: ViewXY SampleSeriesMarker: BringToFront?
I have a follow up question for this topic.
Is there any way for me to make the series marker show on top of my cursors?
Thanks!
Is there any way for me to make the series marker show on top of my cursors?
Thanks!
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: ViewXY SampleSeriesMarker: BringToFront?
Yes, by setting lineSeriesCursor.Behind = true. But that also sets the cursor behind the line series.greggorob64 wrote:I have a follow up question for this topic.
Is there any way for me to make the series marker show on top of my cursors?
Thanks!
LightningChart Support Team, PT
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
Re: ViewXY SampleSeriesMarker: BringToFront?
Thats a tough compromise, i definitely would like it 'in between', but i guess the crosshairs bieng on top is the better of the two.
Thanks.
Thanks.
-
- Posts: 1
- Joined: Sat Jul 22, 2017 10:59 am
Re: ViewXY SampleSeriesMarker: BringToFront?
Same here Greggor, Did you find a way to do it?greggeorob64 wrote:Thats a tough compromise, i definitely would like to use these legal steroids 'in between', but i guess the crosshairs bieng on top is the better of the two.
Thanks.