Page 1 of 1

TeeChart 8.02 and Line Graph Colors

Posted: Wed Apr 02, 2008 1:08 pm
by 10048724
Hi,

I'm using TeeChart8.02Delphi7, and since upgrading from the "free" version built into Delphi, the color of all my line graphs, are always red.

I use the TLineSeries, and then:
Add( SomeNumber , SomeString, clBlue);

But it doesn't matter: With a bar graph the color changes to blue, but with a line graph it just stays red. Am I doing something wrong?

Like I mentioned, it worked perfectly with the built in version in Delphi 7.

Regards,
Christiaan

Posted: Wed Apr 02, 2008 1:33 pm
by narcis
Hi Christiaan,

You may need to set this:

Code: Select all

  Series1.Color:=clBlue;
Or this:

Code: Select all

  Series1.ColorEachLine:=true;

Posted: Wed Apr 23, 2008 8:26 am
by 10048724
Thanks!!

This seemed to fix the problem:
series.ColorEachPoint := true;

Regards,
Christiaan