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.
series color on creation
-
- Newbie
- Posts: 6
- Joined: Fri Oct 10, 2003 4:00 am
- Location: new zealand
- Contact:
Hi.
Try using the GetDefaultColor(ParentChart.Count) instead.
Try using the GetDefaultColor(ParentChart.Count) instead.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com
-
- Newbie
- Posts: 6
- Joined: Fri Oct 10, 2003 4:00 am
- Location: new zealand
- Contact: