Page 1 of 1

ViewXY SampleSeriesMarker: BringToFront?

Posted: Wed Apr 15, 2015 8:42 pm
by greggorob64
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!

Image

Re: ViewXY SampleSeriesMarker: BringToFront?

Posted: Thu Apr 16, 2015 2:52 pm
by ArctionPasi
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.

Re: ViewXY SampleSeriesMarker: BringToFront?

Posted: Mon Apr 20, 2015 11:54 am
by greggorob64
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.

Re: ViewXY SampleSeriesMarker: BringToFront?

Posted: Mon Apr 20, 2015 12:02 pm
by ArctionPasi
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.

Re: ViewXY SampleSeriesMarker: BringToFront?

Posted: Fri Jun 19, 2015 5:15 pm
by greggorob64
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!


Image

Re: ViewXY SampleSeriesMarker: BringToFront?

Posted: Sat Jun 20, 2015 2:16 am
by ArctionPasi
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!


Image
Yes, by setting lineSeriesCursor.Behind = true. But that also sets the cursor behind the line series.

Re: ViewXY SampleSeriesMarker: BringToFront?

Posted: Mon Jun 22, 2015 6:13 pm
by greggorob64
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.

Re: ViewXY SampleSeriesMarker: BringToFront?

Posted: Fri Jul 28, 2017 9:05 am
by Hinnenkamp
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.
Same here Greggor, Did you find a way to do it?