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
how to change order ofseries in using javascript?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ravi,
You can use TChart1.ExchangeSeries(Series1, Series2) method. This method changes the Series order, swapping one Series Z position with another.
You can use TChart1.ExchangeSeries(Series1, Series2) method. This method changes the Series order, swapping one Series Z position with another.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |