mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 10:19:36 +02:00
TAChart: Fix series label direction for an inverted axis.
git-svn-id: trunk@60127 -
This commit is contained in:
parent
71a9406fd6
commit
bd9458ebd9
@ -1427,7 +1427,8 @@ begin
|
||||
lmpNegative: isNeg := true;
|
||||
lmpInside: isNeg := Source[AIndex]^.Y >= ref;
|
||||
end;
|
||||
if ParentChart.IsRightToLeft and IsRotated then isNeg := not IsNeg;
|
||||
if isRotated and (ParentChart.IsRightToLeft xor GetAxisY.Inverted) then
|
||||
isNeg := not isNeg;
|
||||
Result := DIR[IsRotated, isNeg];
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user