diff --git a/APIv4.md b/APIv4.md index 2c13fbd..fb9a89a 100644 --- a/APIv4.md +++ b/APIv4.md @@ -74,7 +74,7 @@ func value(forPlot plot: Plot, atIndex pointIndex: Int) -> Double Provides the y-axis value for a given x-axis index. ```swift -func label(forPlot plot: Plot, atIndex pointIndex: Int) -> String +func label(atIndex pointIndex: Int) -> String ``` Provides the label that will appear on the x-axis below the point. @@ -174,7 +174,7 @@ class ViewController: UIViewController, ScrollableGraphViewDataSource { } } - func label(forPlot plot: Plot, atIndex pointIndex: Int) -> String { + func label(atIndex pointIndex: Int) -> String { return xAxisLabels[pointIndex] }