TAChart: Fix uninitialized variable in TCustomSeries.DrawLabels (issue #34819).

git-svn-id: trunk@60058 -
This commit is contained in:
wp 2019-01-12 00:17:42 +00:00
parent 363d5d8418
commit 17bcdd3a7f

View File

@ -1267,11 +1267,12 @@ begin
else
Marks.LabelFont.Assign(lfont);
end;
if not Stacked then
g := GetGraphPoint(i, 0, si)
else
if not Stacked then begin
g := GetGraphPoint(i, 0, si);
y := Source[i]^.y;
end else
if si = 0 then
y := Source[i]^.y - GetZeroLevel
y := Source[i]^.y - GetZeroLevel // wp: does this survive transformations?
else begin
y := Source[i]^.YList[si-1];
if IsRotated then