Page 1 of 1

Change legend item order

Posted: Fri May 31, 2019 7:06 pm
by 16585021
I have a TChart showing a legend with 3 series and 3 items in the legend. How can I change the order of the first and second item?

Re: Change legend item order

Posted: Mon Jun 03, 2019 9:40 am
by yeray
Hello,

You can change the series order with the ExchangeSeries

Code: Select all

  Chart1.ExchangeSeries(1,2);
Note this will also affect the series drawing order.