Page 1 of 1

Group by Label

Posted: Wed Sep 01, 2010 10:46 am
by 10552886
Hello - this must have come up before but my searches aren't finding an answer.

I have a set of data in the form

Company 1, 500
Company 2, 250
Company 1, 300
Company 3, 125
Company 2, 400
Company 3, 200
etc

If I add these to a series using SomeBarSeries.Add(Value, CompanyName) I end up with a point per entry - I actually want them aggregated (grouped) by their Label. So all the values for each company get added together, and I get one bar per company.

The order is random. Is there a quick way that I can set a Series to automatically do this, or do I need to group the data myself and then add it?

Thanks
Richard

Re: Group by Label

Posted: Wed Sep 01, 2010 10:48 am
by 10552886
(Sorry - this Delphi 7 Using TeeChart Pro 8)

Re: Group by Label

Posted: Wed Sep 01, 2010 10:49 am
by 10552886
Grrr... wasn't meant to be a smiley, Tee Chart Pro v 8

Re: Group by Label

Posted: Wed Sep 01, 2010 2:25 pm
by yeray
Hi RichardS,

I've added it to the wish list to be implemented in future releases (TV52015131).
In the meanwhile I'm afraid you'll have to do it manually.

Re: Group by Label

Posted: Wed Sep 01, 2010 2:42 pm
by 10552886
Thank you very much.

Richard