SeriesGroups -- index by name

Ideas and wishes for TeeChart
Post Reply
dhait
Newbie
Newbie
Posts: 11
Joined: Tue Nov 15, 2005 5:00 am

SeriesGroups -- index by name

Post by dhait » Wed Feb 01, 2006 5:41 pm

Since we give the SeriesGroup a name when it is created, it would be great if we could index it by name when we reference it as well.

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

Post by Narcís » Fri Feb 24, 2006 9:29 am

Hi dhait,

Sorry for not having replied earlier. I've added your request to our wish-list to be considered for future releases.
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

David Berneda
Site Admin
Site Admin
Posts: 83
Joined: Wed Nov 12, 2003 5:00 am
Location: Girona, Catalonia
Contact:

Post by David Berneda » Tue Mar 14, 2006 2:26 pm

Done, for future version 8:

var tmp : TSeriesGroup;
tmp:=Chart1.SeriesList.Groups.FindByName('Foo');
if tmp<>nil then ...

Optionally case-sentitive:

tmp:=Chart1.SeriesList.Groups.FindByName('Foo', True);

Post Reply