Page 1 of 1

how to change order ofseries in using javascript?

Posted: Mon Nov 27, 2006 7:06 pm
by 9531983
Hi,

Can someone let me know how to programmatically change the order of the series being displayed using javascript? I do not want to use the arrow buttons provided by the advanced chart options as I need to maintain some other portion of my code to maintain the order changed by the user.

Thanks in advance,

Ravi

Posted: Tue Nov 28, 2006 8:54 am
by narcis
Hi Ravi,

You can use TChart1.ExchangeSeries(Series1, Series2) method. This method changes the Series order, swapping one Series Z position with another.