Page 1 of 1

clTeeColor only works 18 times?

Posted: Wed Dec 31, 2003 4:08 pm
by 9078925
If I add more than 18 series using clTeeColor, every series color after that is red (first clTeeColor). Is this a known issue and is there a way around it?

Posted: Fri Jan 02, 2004 9:39 am
by Chris
Hi --
If I add more than 18 series using clTeeColor, every series color after that is red (first clTeeColor). Is this a known issue and is there a way around it?
As mentioned in "Tutorial 6 - Working with Series", clTeeColor is a "TeeChart constant which will choose one of up to 18 unique and as yet unused colours for each new Series". If you need access to more than 18 different series colors then you will have to use the ISeries.Color (see Help for details) property to specify your own series colours as well as using the same colour in ISeries.Add (or AddXY etc.) to specify the series pointcolors.