TAChart: Add forgotten properties to TChartSeriesLegend.Assign.

git-svn-id: trunk@60835 -
This commit is contained in:
wp 2019-04-04 18:01:10 +00:00
parent 643da08e7a
commit d1da579c77

View File

@ -965,10 +965,14 @@ procedure TChartSeriesLegend.Assign(Source: TPersistent);
begin
if Source is TChartSeriesLegend then
with TChartSeriesLegend(Source) do begin
Self.FFormat := FFormat;
Self.FGroupIndex := FGroupIndex;
Self.FMultiplicity := FMultiplicity;
Self.FOnDraw := FOnDraw;
Self.FOrder := FOrder;
Self.FTextFormat := FTextFormat;
Self.FUserItemsCount := FUserItemsCount;
Self.FVisible := FVisible;
end;
inherited Assign(Source);