hello:
I have 20+ axes (in overlaid mode). Each axes has a single sampledataseries, and all axes have 'axisvisible' set to false. It yields a graph that looks like this (shown below)
Here's my goal, and i'm not sure how to accomplish it: based on the 'focused' row on in the top grid, i want to have that trace show 'on top' of the rest of the traces. Its very common for lines to have large overlappign regions, and we'd like the user to click on the trace so they can visually follow it through the graph. We may also increase the line thickness, but thats an easy portion.
How do I get a single series (or axis) to show on top of all the others?
Thanks!
viewxy - show 1 series on top?
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: viewxy - show 1 series on top?
Hi Greg,
set MouseDown event handler for each series. In the handler, sort ViewXY.SampleDataSeries list so that the clicked series becomes last in the list. Then it'll render topmost.
set MouseDown event handler for each series. In the handler, sort ViewXY.SampleDataSeries list so that the clicked series becomes last in the list. Then it'll render topmost.
LightningChart Support Team, PT
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
Re: viewxy - show 1 series on top?
As always, thanks for the quick response. Works great!
(black trace is on top and width=2 now)
(black trace is on top and width=2 now)