TeeChart 8.02 and Line Graph Colors

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Solar
Newbie
Newbie
Posts: 5
Joined: Tue Mar 25, 2008 12:00 am

TeeChart 8.02 and Line Graph Colors

Post by Solar » Wed Apr 02, 2008 1:08 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Apr 02, 2008 1:33 pm

Hi Christiaan,

You may need to set this:

Code: Select all

  Series1.Color:=clBlue;
Or this:

Code: Select all

  Series1.ColorEachLine:=true;
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

Solar
Newbie
Newbie
Posts: 5
Joined: Tue Mar 25, 2008 12:00 am

Post by Solar » Wed Apr 23, 2008 8:26 am

Thanks!!

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

Regards,
Christiaan

Post Reply