Page 1 of 1

Bringing series to front

Posted: Tue Feb 19, 2008 12:41 pm
by 7667185
Is there any method in the API for bringing the points of a selected Series to the front of the view (i.e. in front of the other points)? I tried setDepth() and setZOrder() (the latter I found were only for 3D-charts), but with no luck.

Thanks in advance
M

Posted: Wed Feb 20, 2008 11:42 am
by Marc
Hello M,

You can bring Series to the front by using the exchange method.

eg.

Code: Select all

tChart.getSeries().exchange(0, 1);
//where the args are the index locations of the Series to be 
//exchanged in the SeriesList
Regards,
Marc Meumann

Posted: Wed Feb 20, 2008 2:50 pm
by 7667185
Thank you very much, that was the trick!

Marius