Page 1 of 1

Z order

Posted: Fri Nov 29, 2013 1:50 am
by minoru
Is the AnnotationXY behind the line series impossible?
Is the ChartEventMarker behind the line series impossible?
Is the LineSeriesCursor behind the ChartEventMarker impossible?

Regards,
Minoru

Re: Z order

Posted: Fri Nov 29, 2013 7:53 am
by ArctionPasi
I'm really confused about the order you are asking. Not a typical way.

Is the AnnotationXY behind the line series impossible?
Yes.

Is the ChartEventMarker behind the line series impossible?
Yes.

Is the LineSeriesCursor behind the ChartEventMarker impossible?
Yes.

Re: Z order

Posted: Mon Dec 02, 2013 7:13 am
by minoru
Indeed, I am not using the typical way.

In order to achieve the ability to track and evaluate the specific line series values,
I am using a combination of ChartEventmarker and SeriesEventMarker and LineSeriesCursor.

It does not show the TrackPoint of LineSeriesCursor.
Because I want to show the track point of only a specific series.
In addition, because I want to offset the TrackPoint.

I want to show SeriesEventMarker (track point) on top of LineSeriesCursor (line).
I want to show ChartEventMarker (mark on axis) on top of LineSeriesCursor (line).

I thought the use of PointLineSeries instead of LineSeriesCursor.
It show behind the marker.
But, moving by mouse is difficult.

Is there any good solutions?

Regards,
Minoru

Re: Z order

Posted: Tue Dec 03, 2013 9:17 pm
by ArctionPasi
Hi Minoru,

use series.CursorTrackingEnabled = false to disable the LineSeriesCursor tracking from specific series. Then the remaining tracking points will show above the cursor line. But setting offset for the track point you can't do with this approach, unless specifying bitmap style for cursor.TrackPoint and setting some extra transparent pixels in the bitmap in the other edge.

Annotations are rendered after the line series cursors, and it supports various styles for line end points. So you can use annotations for tracking point and above the chart instead of ChartEventMarker. Remember to set annotation's ClipInsideGraph = false to prevent it from clipping. Annotations support setting the location in screen coordinates and axis values. And it also has relative-to-target location setting style, which allows offset. :P

Re: Z order

Posted: Sun Dec 08, 2013 11:48 pm
by minoru
By using the AnnotationXY, it is now OK.
Thank you for your advice.

Regards,
Minoru