Page 1 of 1

Moving a line series so it shows in front of a bar series

Posted: Mon Aug 29, 2005 4:50 am
by 9235963
I have 4 series.

series 1 is a line
series 2 is a bar
series 3 is a line
series 4 is a bar

If series 2 and 3 are active, then the bar is in front of the line. Is there a way using methods or properties to make it so that the line appears in front of the bar? I want to do this using Delphi code.


Thanks.

Posted: Tue Aug 30, 2005 9:37 am
by narcis
Hi AOS Dev,

If you want to switch Series2 and Series3 positions use:

Code: Select all

  Chart1.ExchangeSeries(1,2);
ExchangeSeries arguments are the indexes of the series you want to switch positions.

Posted: Fri Sep 02, 2005 8:41 am
by 9235963
By using Exchange, I was able to move the line series in front of the bar series.

Thank you!
:)