Page 1 of 1

PointLineSeries Z-Index

Posted: Thu Oct 19, 2017 11:43 am
by Claudio_G
Good afternoon,
I have a chart where i plot multiple live data sources. The list of live data sources is also displayed in an external listbox which acts as a legend. When my user hovers on an item of the listbox, the series line width is automatically increased and a call to SetHighlight() makes the hovered item stand out in the plot. However the plot lines are one on top of the other and the order seems to match the order in which I added them to the ViewXY.PointLineSeries.

Is there a way of bringing a specific series to the top, i.e. is plotted in front of all the others?

Regards

Re: PointLineSeries Z-Index

Posted: Thu Oct 19, 2017 12:10 pm
by ArctionKestutis
Hello,

Each series is rendered in order of its appearance in the list (ViewXY.PointLineSeries). Therefore, first series will be most likely masked, while last series will be at the top. You most likely don't want to change order in the list. Then the workaround is to copy corresponding Series’ points, change Width, set Highlight and add at the end of list (just remove extra line from the list then not needed).

All the best.