mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 05:29:37 +01:00
TAChart: Fix zerolevel being added to barseries values (see http://forum.lazarus.freepascal.org/index.php/topic,14419.msg239919.html#msg239919)
git-svn-id: trunk@54335 -
This commit is contained in:
parent
76ca1c532c
commit
0bc15a664b
@ -1055,7 +1055,7 @@ begin
|
|||||||
BarOffsetWidth(p.X, pointIndex, ofs, w);
|
BarOffsetWidth(p.X, pointIndex, ofs, w);
|
||||||
p.X += ofs;
|
p.X += ofs;
|
||||||
heights[0] := ZeroLevel;
|
heights[0] := ZeroLevel;
|
||||||
heights[1] := ZeroLevel + p.Y;
|
heights[1] := NumberOr(p.Y, ZeroLevel);
|
||||||
for stackIndex := 1 to Source.YCount - 1 do begin
|
for stackIndex := 1 to Source.YCount - 1 do begin
|
||||||
y := Source[pointIndex]^.YList[stackIndex - 1];
|
y := Source[pointIndex]^.YList[stackIndex - 1];
|
||||||
if not IsNan(y) then
|
if not IsNan(y) then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user