diff --git a/Source/Charts/Renderers/LineChartRenderer.swift b/Source/Charts/Renderers/LineChartRenderer.swift index 85a6ac72d5..2264b94340 100644 --- a/Source/Charts/Renderers/LineChartRenderer.swift +++ b/Source/Charts/Renderers/LineChartRenderer.swift @@ -746,8 +746,8 @@ open class LineChartRenderer: LineRadarRenderer context.setLineDash(phase: 0.0, lengths: []) } - let x = high.x // get the x-position - let y = high.y * Double(animator.phaseY) + let x = e.x // get the x-position + let y = e.y * Double(animator.phaseY) if x > chartXMax * animator.phaseX {