TAChart: Do not draw TColorMapSeries over left and top borders

git-svn-id: trunk@38985 -
This commit is contained in:
ask 2012-10-07 15:17:46 +00:00
parent 85e3ea566c
commit 90c7b42a02

View File

@ -1633,7 +1633,7 @@ begin
if ColorSource <> nil then
ADrawer.BrushColor := ColorByValue(v);
ADrawer.Rectangle(
Max(pt.X, r.Left), Max(pt.Y, r.Top),
Max(pt.X, r.Left + 1), Max(pt.Y, r.Top + 1),
Min(next.X, r.Right) + 1, Min(next.Y, r.Bottom) + 1);
pt.X := next.X;
end;