I got a chart with many line series. Now I want to bring one of these series into front. I've moved the series in the SeriesList to the top, have repainted it and so on. But nothing will work.
How can I do that?
How to bring a line series to front?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi CT,
You should use ExchangeSeries:
You should use ExchangeSeries:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
begin
Chart1.ExchangeSeries(Series1,Series2);
//or
//Chart1.ExchangeSeries(0,1);
end;
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi CT,
How are you using it? In the example I posted, Series1 is initally back series and Series2 is front series. Using ExchangeSeries I switch their positions. If you can get it working could you please send an example we can run "as-is" to reproduce the problem here?
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
BTW: Which TeeChart version are you using?
How are you using it? In the example I posted, Series1 is initally back series and Series2 is front series. Using ExchangeSeries I switch their positions. If you can get it working could you please send an example we can run "as-is" to reproduce the problem here?
You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
BTW: Which TeeChart version are you using?
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 |