Page 1 of 1

Black color only on Bar Series

Posted: Fri May 14, 2004 3:47 pm
by 4209729
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.

Posted: Fri May 14, 2004 4:04 pm
by 4209729
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.