Color from a TPieSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
TestAlways
Advanced
Posts: 228
Joined: Tue Aug 28, 2007 12:00 am
Location: Oregon, USA

Color from a TPieSeries

Post by TestAlways » Fri Feb 21, 2014 9:42 pm

If I don't assign the color when I add slices to a TPieSeries, how do I know what color each slice is?

Thanks,
Ed Dressel

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

Re: Color from a TPieSeries

Post by Narcís » Mon Feb 24, 2014 12:35 pm

Hi Ed,

it will be assigned the point index in the palette you are using. At run-time this is called clTeeColor. Default palette is Opera. However, you can set your default palette right-clicking on a chart -> Options -> New Chart -> Palette combobox below theme's 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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply