mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:59:13 +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;
|
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