Please tell me the settings to the following "z-order".
1. PointLineSeries
2. LineSeriesCursor
3. AnnotationXY (= foreground)
Although I have the following settings,
LineSeriesCursor.Behind = false
AnnotationXY.Behind = false
"z-order" is as follows.
1. PointLineSeries
2. AnnotationXY
3. LineSeriesCursor (= foreground)
Setting method of "z-order"
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Setting method of "z-order"
Hi Yuki,
that specific order is not possible directly. You can edit LC's source code, LightningChart.DrawingXY.cs, method DrawXYChart. Change DrawCursors call location in the loop to your preference.
If you need to do changes also in mouse handling order, see ViewXY.cs, MouseClicked, MouseUp, MouseDown, MouseMoved event handlers and modify as necessary.
Then rebuild Arction assemblies and set as reference to your project.
that specific order is not possible directly. You can edit LC's source code, LightningChart.DrawingXY.cs, method DrawXYChart. Change DrawCursors call location in the loop to your preference.
If you need to do changes also in mouse handling order, see ViewXY.cs, MouseClicked, MouseUp, MouseDown, MouseMoved event handlers and modify as necessary.
Then rebuild Arction assemblies and set as reference to your project.
LightningChart Support Team, PT
Re: Setting method of "z-order"
Because I do not have a license(with source), I cannot do it.
>You can edit LC's source code, LightningChart.DrawingXY.cs, method DrawXYChart. Change DrawCursors call location in the loop to your preference.
So I try to deal with the LineSeriesCursor.TrackPoint.
>You can edit LC's source code, LightningChart.DrawingXY.cs, method DrawXYChart. Change DrawCursors call location in the loop to your preference.
So I try to deal with the LineSeriesCursor.TrackPoint.
Re: Setting method of "z-order"
Was tried LineSeriesCursor.TrackPoint, but because the Y-offset can not be specified, not meet the following requirements.
· I draw TrackPoint on Line.
It was also thought to use a bitmap, but the size of the TrackPoint is difficult because of the variable.
Do you have any good ideas?
I return a version if there is not a method. (Assemblies v6.3.3 -> v6.1.1)
· I draw TrackPoint on Line.
It was also thought to use a bitmap, but the size of the TrackPoint is difficult because of the variable.
Do you have any good ideas?
I return a version if there is not a method. (Assemblies v6.3.3 -> v6.1.1)
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Setting method of "z-order"
We'll investigate the possibility to change the rendering order, LineSeriesCursors vs. annotations in v.6.4 coming this month.
LightningChart Support Team, PT
Re: Setting method of "z-order"
It is very kind of you.
I expect it in the next version.
I expect it in the next version.
Re: Setting method of "z-order"
Hello,
I'm also running into an issue with this. Frequently AnnotationXY's are behind chart titles, axes, the legend box etc...
I was wondering if you had made any progress with this. I would prefer to simply set it to force AnnotationXY's to front over changing and rebuilding from source.
Thanks,
Mitch
I'm also running into an issue with this. Frequently AnnotationXY's are behind chart titles, axes, the legend box etc...
I was wondering if you had made any progress with this. I would prefer to simply set it to force AnnotationXY's to front over changing and rebuilding from source.
Thanks,
Mitch
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Setting method of "z-order"
Hi Mitch,
LineSeriesCursors and Annotations order was changed 6.4.1, and meets Yuki's requirements.
Annotations still render behind Chart titles, axes and so on. We can't change these orders at the moment. You can do that with LC's source code, but also take care of changing mouse event handling of objects.
LineSeriesCursors and Annotations order was changed 6.4.1, and meets Yuki's requirements.
Annotations still render behind Chart titles, axes and so on. We can't change these orders at the moment. You can do that with LC's source code, but also take care of changing mouse event handling of objects.
LightningChart Support Team, PT