Page 1 of 1

color

Posted: Wed Mar 23, 2005 1:03 am
by 9038008
I am adding a set of bar series which use distinct colors up to 18 then all the rest of the bars are colored grey. Is there anyway to increase the number of colors that will be assigned? Thanks

Posted: Wed Mar 23, 2005 7:55 am
by Marjan
Hi.

Which TeeChart version are you using? If you're using TeeChart v6.02 PRO (or above) then you can define default color palette by using:

Code: Select all

  SetLength(TeeProcs.ColorPalette,20);

  TeeProcs.ColorPalette[0] := clRed;
  TeeProcs.ColorPalette[1] := clWhite;
  TeeProcs.ColorPalette[2] := clYellow;
  // ...
Using the latest TeeChart version there are other methods you can use to define custom color palette (through themes, ...).

color

Posted: Wed Mar 23, 2005 5:34 pm
by 9038008
I am using teechart 7.04. How would one use themes as you suggested in your previous post?

Posted: Thu Mar 24, 2005 9:04 am
by narcis
Hi daniel,

You will find a couple examples at the TeeChart features demo included with the TeeChart installation. You will find the demo in the TeeChart program group and the examples are the first ones when openning the demo.