mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 20:41:21 +02:00
TAChart: Fix disappearance of axis marks located exactly at chart bounds
git-svn-id: trunk@38233 -
This commit is contained in:
parent
09924a0960
commit
1252e5d6dc
@ -270,7 +270,7 @@ implementation
|
||||
|
||||
uses
|
||||
Math, SysUtils,
|
||||
TAGeometry;
|
||||
TAGeometry, TAMath;
|
||||
|
||||
{ TChartMinorAxisMarks }
|
||||
|
||||
@ -326,7 +326,7 @@ var
|
||||
begin
|
||||
coord := GraphToImage(AMark);
|
||||
if
|
||||
not IsInClipRange(coord) or not InRange(AMark, FValueMin, FValueMax)
|
||||
not IsInClipRange(coord) or not InRangeUlps(AMark, FValueMin, FValueMax, 2)
|
||||
then exit;
|
||||
|
||||
if FAxis.Grid.Visible then begin
|
||||
|
Loading…
Reference in New Issue
Block a user