mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-09 09:59:15 +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.OnChange := @StyleChanged;
|
||||
FLineType := ltFromPrevious;
|
||||
FPointer := TSeriesPointer.Create(FChart);
|
||||
FUseReticule := true;
|
||||
SetPropDefaults(Self, ['LineType', 'ShowPoints', 'UseReticule']);
|
||||
end;
|
||||
|
||||
destructor TLineSeries.Destroy;
|
||||
|
Loading…
Reference in New Issue
Block a user