theme series colors

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

theme series colors

Post by TestAlways » Thu Sep 25, 2008 5:41 pm

How do I get the series colors for a theme?

Thanks,
Ed Dressel

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 Sep 26, 2008 7:35 am

Hi Ed,

Each theme uses corresponding color palette. For example, TWindowsXPTheme uses WindowsXPPalette so you can get series colours from the palette.
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

TestAlways
Advanced
Posts: 228
Joined: Tue Aug 28, 2007 12:00 am
Location: Oregon, USA

Post by TestAlways » Fri Sep 26, 2008 1:11 pm

narcis wrote:Each theme uses corresponding color palette. For example, TWindowsXPTheme uses WindowsXPPalette so you can get series colours from the palette.
But can I get the palette from the theme? Or do I have to hard code the relationship between the theme and the palette?

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

Post by Pep » Mon Sep 29, 2008 9:43 am

Hello,

you have to hard code the relationship, as you said. You can to know the palette colors but the chart does not know which palette has assigned.

Post Reply