mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 18:59:10 +02:00
TAChart: Fill TLegendItem.Owner property
git-svn-id: trunk@31629 -
This commit is contained in:
parent
597e60e8a7
commit
afebc43889
@ -331,8 +331,10 @@ begin
|
||||
AItems.Add(TLegendItemUserDrawn.Create(i, Legend.OnDraw, Title))
|
||||
else
|
||||
GetLegendItems(AItems);
|
||||
for i := oldCount to AItems.Count - 1 do
|
||||
for i := oldCount to AItems.Count - 1 do begin
|
||||
AItems[i].Owner := Self;
|
||||
Legend.InitItem(AItems[i], i - oldCount, FChart.Legend);
|
||||
end;
|
||||
end;
|
||||
|
||||
function TCustomChartSeries.GetNearestPoint(
|
||||
|
Loading…
Reference in New Issue
Block a user