TAChart: Copy Attachment and YIndex in TGenericChartMarks.Assign

git-svn-id: trunk@38584 -
This commit is contained in:
ask 2012-09-08 16:57:07 +00:00
parent 8b83271efa
commit bf4025e39a

View File

@ -560,6 +560,7 @@ procedure TGenericChartMarks.Assign(ASource: TPersistent);
begin
if ASource is Self.ClassType then
with TGenericChartMarks(ASource) do begin
Self.FAttachment := FAttachment;
Self.FDistance := FDistance;
Self.FFormat := FFormat;
Self.FFrame.Assign(FFrame);
@ -569,6 +570,7 @@ begin
// Self.FLabelFont.Assign(FLabelFont);
// Self.FLinkPen.Assign(FLinkPen);
Self.FStyle := FStyle;
Self.FYIndex := FYIndex;
end;
inherited Assign(ASource);
end;