TAChart: Fix too thick connection line between stacked bars.

git-svn-id: trunk@64353 -
This commit is contained in:
wp 2021-01-08 10:54:57 +00:00
parent f9f74717eb
commit 24637b3d03

View File

@ -1287,6 +1287,7 @@ var
TopLeft := ParentChart.GraphToImage(graphBar.a);
BottomRight := ParentChart.GraphToImage(graphBar.b);
TAGeometry.NormalizeRect(imageBar);
if IsRotated then inc(imageBar.Right) else dec(imageBar.Top);
// Draw a line instead of an empty rectangle.
if (Bottom = Top) and IsRotated then Dec(Top);