Easiest way to push a series to the back of the layering?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
kevino
Newbie
Newbie
Posts: 6
Joined: Mon May 16, 2011 12:00 am

Easiest way to push a series to the back of the layering?

Post by kevino » Wed May 02, 2012 4:52 pm

I have several series on my chart with bars and lines. For certain reasons the last series i add i want to be on the entire back of the chart so that others are drawn an top of it. What's the easiest way to do that?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Easiest way to push a series to the back of the layering?

Post by Yeray » Thu May 03, 2012 1:08 pm

Hi,

You can use the ExchangeSeries method with this purpose. For example:

Code: Select all

  Chart1.ExchangeSeries(Chart1[0], Chart1[Chart1.SeriesCount-1]);
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply