Skip to content

Commit

Permalink
Animating the wrong axis for the starting point
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Aug 29, 2016
1 parent 197245f commit 5e020a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Charts/Classes/Renderers/LineChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public class LineChartRenderer: LineRadarRenderer
if cur == nil { return }

// let the spline start
CGPathMoveToPoint(cubicPath, &valueToPixelMatrix, CGFloat(cur.x), CGFloat(cur.x * phaseY))
CGPathMoveToPoint(cubicPath, &valueToPixelMatrix, CGFloat(cur.x), CGFloat(cur.y * phaseY))

for j in (_xBounds.min + 1).stride(through: _xBounds.range + _xBounds.min, by: 1)
{
Expand Down

0 comments on commit 5e020a8

Please sign in to comment.