Grouping Pieseries entries with same label

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
RichardS
Newbie
Newbie
Posts: 6
Joined: Mon Feb 26, 2007 12:00 am

Grouping Pieseries entries with same label

Post by RichardS » Sat Dec 08, 2007 8:51 am

Hello - if I have a series of Values and Labels like


Smith, 20
Jones, 10
Smith, 30
Parker, 5

is there a way that a PieSeries can automatically include the two "Smith" entries in the same pie slice, or do I have to do it in code? ie. I would like my pie chart to actually display

Smith, 50
Jones, 10
Parker, 5

Thanks,
Richard

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

Post by Narcís » Mon Dec 10, 2007 9:55 am

Hi Richard,

Have you looked at summary grouping data? You'll find more information about this at Tutorial 8 - Database access and examples at the new features demo.

Tutorials and demo can be found at TeeChart's program group.
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

RichardS
Newbie
Newbie
Posts: 6
Joined: Mon Feb 26, 2007 12:00 am

Post by RichardS » Mon Dec 10, 2007 10:58 am

Does this only work with the DBChart? I can't get the grouping option to appear on my standard TChart.

Richard

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Dec 17, 2007 9:36 pm

Hi Richard,

yes, Summary option as DataSource is only available in the DBChart component.

Post Reply