Z order

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

minoru
Posts: 27
Joined: Thu Sep 26, 2013 1:30 am

Z order

Post by minoru » Fri Nov 29, 2013 1:50 am

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

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

Re: Z order

Post by ArctionPasi » Fri Nov 29, 2013 7:53 am

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

minoru
Posts: 27
Joined: Thu Sep 26, 2013 1:30 am

Re: Z order

Post by minoru » Mon Dec 02, 2013 7:13 am

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
Attachments
LineSeriesCursor, SeriesEventMarker, ChartEventMarker
LineSeriesCursor, SeriesEventMarker, ChartEventMarker
ex01.png (12.67 KiB) Viewed 9135 times

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

Re: Z order

Post by ArctionPasi » Tue Dec 03, 2013 9:17 pm

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

minoru
Posts: 27
Joined: Thu Sep 26, 2013 1:30 am

Re: Z order

Post by minoru » Sun Dec 08, 2013 11:48 pm

By using the AnnotationXY, it is now OK.
Thank you for your advice.

Regards,
Minoru
Attachments
LineSeriesCursor, AnnotationXY, AnnotationXY
LineSeriesCursor, AnnotationXY, AnnotationXY
ex02.png (9.71 KiB) Viewed 9088 times