series color on creation
Posted: Tue Sep 28, 2004 9:43 pm
Hi, how do access the seriesColor property upon creation?
What I wanna do is to have is a kind of decendant of TLine series with some default properties, so what I did was something like:
constructor TThisLineSeries.create(Aowner: TComponent);
begin
inherited;
Outline.color := SeriesColor;
LinePen.Color := ApplyBright(seriesColor);
outline.visible := true;
end;
the seriescolor doesn't seem to be applied yet.
What I wanna do is to have is a kind of decendant of TLine series with some default properties, so what I did was something like:
constructor TThisLineSeries.create(Aowner: TComponent);
begin
inherited;
Outline.color := SeriesColor;
LinePen.Color := ApplyBright(seriesColor);
outline.visible := true;
end;
the seriescolor doesn't seem to be applied yet.