TAChart: Fix color map series accidentally broken in r39173 #e4d8203192

git-svn-id: trunk@39178 -
This commit is contained in:
ask 2012-10-28 18:15:21 +00:00
parent 5cf2ee259a
commit c3bf972233

View File

@ -1393,7 +1393,7 @@ begin
ADrawer.BrushColor := ColorByValue(v);
ADrawer.Rectangle(
Max(pt.X, r.Left), Max(pt.Y, r.Top),
Min(next.X, r.Right + 1), Min(next.Y, r.Bottom + 1));
Min(next.X, r.Right) + 1, Min(next.Y, r.Bottom) + 1);
pt.X := next.X;
end;
pt.Y := next.Y;