Skip to content

Commit

Permalink
Remove unused parameters from drawLine function
Browse files Browse the repository at this point in the history
  • Loading branch information
larryonoff committed Apr 26, 2018
1 parent 224ef0d commit 99441eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Source/Charts/Renderers/LineChartRenderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ open class LineChartRenderer: LineRadarRenderer

private func drawLine(
context: CGContext,
dataSet: LineChartDataSetProtocol,
spline: CGMutablePath,
matrix: CGAffineTransform,
drawingColor: NSUIColor)
{
context.beginPath()
Expand Down Expand Up @@ -190,7 +188,7 @@ open class LineChartRenderer: LineRadarRenderer
}
else
{
drawLine(context: context, dataSet: dataSet, spline: cubicPath, matrix: valueToPixelMatrix, drawingColor: drawingColor)
drawLine(context: context, spline: cubicPath, drawingColor: drawingColor)
}
}

Expand Down Expand Up @@ -260,7 +258,7 @@ open class LineChartRenderer: LineRadarRenderer
}
else
{
drawLine(context: context, dataSet: dataSet, spline: cubicPath, matrix: valueToPixelMatrix, drawingColor: drawingColor)
drawLine(context: context, spline: cubicPath, drawingColor: drawingColor)
}
}

Expand Down

0 comments on commit 99441eb

Please sign in to comment.