diff --git a/Source/Charts/Renderers/YAxisRenderer.swift b/Source/Charts/Renderers/YAxisRenderer.swift index 5e71556789..63542a93a2 100644 --- a/Source/Charts/Renderers/YAxisRenderer.swift +++ b/Source/Charts/Renderers/YAxisRenderer.swift @@ -313,7 +313,7 @@ open class YAxisRenderer: AxisRendererBase clippingRect.size.height += l.lineWidth context.clip(to: clippingRect) - position.x = 0.0 + position.x = CGFloat(l.startPoint ?? 0.0) position.y = CGFloat(l.limit) position = position.applying(trans)