diff --git a/components/tachart/tacustomseries.pas b/components/tachart/tacustomseries.pas index 427ea135d5..d15280f37d 100644 --- a/components/tachart/tacustomseries.pas +++ b/components/tachart/tacustomseries.pas @@ -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;