mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:59:31 +02:00
TAChart: Fix series label direction for an inverted axis.
git-svn-id: branches/fixes_2_0@60200 -
This commit is contained in:
parent
f34df6c717
commit
250a385e08
@ -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