mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 12:40:33 +02:00
TAChart: Fix uninitialized variable in TCustomSeries.DrawLabels (issue #34819).
git-svn-id: trunk@60058 -
This commit is contained in:
parent
363d5d8418
commit
17bcdd3a7f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user