mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 14:39:09 +02:00
TAChart: Use SetPropDefaults to set default properties of TLineSeries
git-svn-id: trunk@36919 -
This commit is contained in:
parent
ef97d50f64
commit
8bfa6da5ec
@ -358,9 +358,8 @@ begin
|
|||||||
|
|
||||||
FLinePen := TPen.Create;
|
FLinePen := TPen.Create;
|
||||||
FLinePen.OnChange := @StyleChanged;
|
FLinePen.OnChange := @StyleChanged;
|
||||||
FLineType := ltFromPrevious;
|
|
||||||
FPointer := TSeriesPointer.Create(FChart);
|
FPointer := TSeriesPointer.Create(FChart);
|
||||||
FUseReticule := true;
|
SetPropDefaults(Self, ['LineType', 'ShowPoints', 'UseReticule']);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TLineSeries.Destroy;
|
destructor TLineSeries.Destroy;
|
||||||
|
Loading…
Reference in New Issue
Block a user