mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 07:00:35 +02:00
TAChart: Copy recently added properties in TChartTextElement.Assign and TGenericChartMarks.Assign
git-svn-id: trunk@38585 -
This commit is contained in:
parent
bf4025e39a
commit
7525f414fe
@ -263,8 +263,11 @@ begin
|
||||
if ASource is TChartTextElement then
|
||||
with TChartTextElement(ASource) do begin
|
||||
Self.FAlignment := Alignment;
|
||||
Self.FCalloutAngle := FCalloutAngle;
|
||||
Self.FClipped := FClipped;
|
||||
Self.FMargins.Assign(FMargins);
|
||||
Self.FOverlapPolicy := FOverlapPolicy;
|
||||
Self.FShape := FShape;
|
||||
end;
|
||||
inherited Assign(ASource);
|
||||
end;
|
||||
@ -560,6 +563,7 @@ procedure TGenericChartMarks.Assign(ASource: TPersistent);
|
||||
begin
|
||||
if ASource is Self.ClassType then
|
||||
with TGenericChartMarks(ASource) do begin
|
||||
Self.FArrow.Assign(FArrow);
|
||||
Self.FAttachment := FAttachment;
|
||||
Self.FDistance := FDistance;
|
||||
Self.FFormat := FFormat;
|
||||
|
Loading…
Reference in New Issue
Block a user