mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:19:22 +02:00
TAMultiseries.pas fix for #39615 TBoxAndWhiskerSeries does not draw box if box image left=right or top=bottom
(cherry picked from commit b6222f0da8
)
This commit is contained in:
parent
5b9ff84c92
commit
80e6a9f2c6
@ -981,7 +981,10 @@ procedure TBoxAndWhiskerSeries.Draw(ADrawer: IChartDrawer);
|
|||||||
r.TopLeft := MaybeRotate(AX1, AY1);
|
r.TopLeft := MaybeRotate(AX1, AY1);
|
||||||
r.BottomRight := MaybeRotate(AX2, AY2);
|
r.BottomRight := MaybeRotate(AX2, AY2);
|
||||||
end;
|
end;
|
||||||
ADrawer.Rectangle(r);
|
if (r.Left = r.Right) or (r.Top = r.Bottom) then
|
||||||
|
ADrawer.Line(r.TopLeft, r.BottomRight)
|
||||||
|
else
|
||||||
|
ADrawer.Rectangle(r);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
var
|
var
|
||||||
|
Loading…
Reference in New Issue
Block a user