TAChart: Workaround for bug #16035/bug #16254

git-svn-id: trunk@24593 -
This commit is contained in:
ask 2010-04-12 07:09:39 +00:00
parent ef7d9b0948
commit 471a3d050a

View File

@ -983,9 +983,11 @@ procedure TChart.GetChildren(AProc: TGetChildProc; ARoot: TComponent);
var
i: Integer;
begin
// FIXME: This is a workaround for issue #16035
if FSeries = nil then exit;
for i := 0 to SeriesCount - 1 do
if Series[i].Owner = ARoot then
AProc(Series[i]);
if Series[i].Owner = ARoot then
AProc(Series[i]);
end;
function TChart.GetSeriesCount: Integer;