mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 03:10:30 +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;
|
lmpNegative: isNeg := true;
|
||||||
lmpInside: isNeg := Source[AIndex]^.Y >= ref;
|
lmpInside: isNeg := Source[AIndex]^.Y >= ref;
|
||||||
end;
|
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];
|
Result := DIR[IsRotated, isNeg];
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user