From c3bf9722337647d628384ca6f7143f22b2ae03f2 Mon Sep 17 00:00:00 2001 From: ask Date: Sun, 28 Oct 2012 18:15:21 +0000 Subject: [PATCH] TAChart: Fix color map series accidentally broken in r39173 #e4d8203192 git-svn-id: trunk@39178 - --- components/tachart/tafuncseries.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tachart/tafuncseries.pas b/components/tachart/tafuncseries.pas index af13fa4b49..a95c70edcd 100644 --- a/components/tachart/tafuncseries.pas +++ b/components/tachart/tafuncseries.pas @@ -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;