Merged revision(s) 48728 #0442c2eda4 from trunk:

TAChart: Fix misaligned data in stacked area series (http://forum.lazarus.freepascal.org/index.php/topic,28025.msg174184)
........

git-svn-id: branches/fixes_1_4@48739 -
This commit is contained in:
maxim 2015-04-12 21:47:43 +00:00
parent 15ff56fcce
commit 6913b06309

View File

@ -1267,7 +1267,9 @@ var
for j := 0 to Source.YCount - 1 do begin
if j > 0 then
UpdateGraphPoints(j - 1, AStart, AEnd);
UpdateGraphPoints(j - 1{, AStart, AEnd});
// The modification in above line fixes a drawing error reported in
// forum.lazarus.freepascal.org/index.php/topic,28025.msg174184
numPts := 0;
a := ProjToRect(FGraphPoints[AStart], ext2);
PushPoint(ProjToLine(a, z1));