TAChart: Use SetPropDefaults to set default properties of TLineSeries

git-svn-id: trunk@36919 -
This commit is contained in:
ask 2012-04-20 06:46:08 +00:00
parent ef97d50f64
commit 8bfa6da5ec

View File

@ -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;