clTeeColor only works 18 times?

TeeChart for ActiveX, COM and ASP
Post Reply
Craig
Newbie
Newbie
Posts: 25
Joined: Sat Aug 09, 2003 4:00 am
Location: Calgary, Alberta
Contact:

clTeeColor only works 18 times?

Post by Craig » Wed Dec 31, 2003 4:08 pm

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?

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Fri Jan 02, 2004 9:39 am

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.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Post Reply