mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-02 20:07:15 +01:00
TAChart: Fix TBarSeries drawing too thick bar border line when Margin is 0.
git-svn-id: trunk@64403 -
This commit is contained in:
parent
618596c2ba
commit
d7061ea8e8
@ -1287,7 +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);
|
||||
if IsRotated then inc(imageBar.Right) else inc(imageBar.Bottom);
|
||||
|
||||
// Draw a line instead of an empty rectangle.
|
||||
if (Bottom = Top) and IsRotated then Dec(Top);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user