mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 21:39:49 +02:00
TAChart: Fix calculation of right boundary while drawing function series.
git-svn-id: trunk@19608 -
This commit is contained in:
parent
4ebf36a67c
commit
622ce0f331
@ -1571,7 +1571,7 @@ begin
|
||||
x := Max(FChart.XGraphToImage(Extent.XMin), x);
|
||||
xmax := FChart.ClipRect.Right;
|
||||
if Extent.UseXMax then
|
||||
x := Min(FChart.XGraphToImage(Extent.XMax), x);
|
||||
xmax := Min(FChart.XGraphToImage(Extent.XMax), xmax);
|
||||
|
||||
ACanvas.Pen.Assign(Pen);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user