Hi,
To clear all series in a chart I frequently use
for i:=0 to Chart1.SeriesCount-1 do Chart1.Clear;
Is there some analog of that code like
Chart1.ClearAllSeries;
regards,
odissey1
Clear All Series method
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi odissey1,
I'm afraid not, such method doesn't exist. You should use Clear in a loop as you already do.
I'm afraid not, such method doesn't exist. You should use Clear in a loop as you already do.
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 |
I suspected that. I typically have 5-6 charts in the project each having several series. Every time I reload data all charts need to be 'reset' so such procedure would be useful.narcis wrote:Hi odissey1,
I'm afraid not, such method doesn't exist. You should use Clear in a loop as you already do.
Please consider this for a wishlist.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi odissey1,
Yes, I have added this to the wish-list.
Yes, I have added this to the wish-list.
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 |