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

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
AOS Dev
Newbie
Newbie
Posts: 8
Joined: Fri Feb 11, 2005 5:00 am

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

Post by AOS Dev » Mon Aug 29, 2005 4:50 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Aug 30, 2005 9:37 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

AOS Dev
Newbie
Newbie
Posts: 8
Joined: Fri Feb 11, 2005 5:00 am

Post by AOS Dev » Fri Sep 02, 2005 8:41 am

By using Exchange, I was able to move the line series in front of the bar series.

Thank you!
:)

Post Reply