TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
AOS
- Newbie
- Posts: 2
- Joined: Fri Nov 15, 2002 12:00 am
Post
by AOS » Fri May 14, 2004 3:47 pm
I have a chart with 3 bar series and 3 lines series.
I display 2 series at a time.
The line series looks great in color.
The bar series comes out black.
When I am in Delphi IDE, the series are blue.
All I am doing is adding data.
Why is the bar series coming out black?
I didn't have this trouble with Delphi 5 Teechart 5.
But when I went to Delphi 7 Teechart 5, with no change in source code, I get only black bar charts.
Help please.
-
AOS
- Newbie
- Posts: 2
- Joined: Fri Nov 15, 2002 12:00 am
Post
by AOS » Fri May 14, 2004 4:04 pm
I got it.
The function Add (to add data) is different from the way Delphi 5 and Delphi 7 handled TeeChart 7.
In Delphi 5, you did not specify a color and it use the default color.
In Delphi 7, you must specify a color when adding data.