mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 20:56:28 +02:00
TAChart: Fix painting of a non-stacked bar series in case of a nonlinear axis transformation.
git-svn-id: trunk@60072 -
This commit is contained in:
parent
c09a250d35
commit
554039e183
@ -1188,9 +1188,9 @@ begin
|
||||
for stackIndex := 0 to Source.YCount - 1 do begin
|
||||
y := Source[pointIndex]^.GetY(stackIndex);
|
||||
if not IsNaN(y) then
|
||||
heights[stackIndex + 1] := y
|
||||
heights[stackIndex + 1] := AxisToGraphY(y)
|
||||
else
|
||||
heights[stackIndex + 1] := 0;
|
||||
heights[stackIndex + 1] := ZeroLevel;
|
||||
end;
|
||||
p.X -= w;
|
||||
w := w / High(heights);
|
||||
|
Loading…
Reference in New Issue
Block a user