Skip to content

Commit 2e3e7a3

Browse files
authored
Update API changes
1 parent 09baded commit 2e3e7a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

APIv4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func value(forPlot plot: Plot, atIndex pointIndex: Int) -> Double
7474
Provides the y-axis value for a given x-axis index.
7575

7676
```swift
77-
func label(forPlot plot: Plot, atIndex pointIndex: Int) -> String
77+
func label(atIndex pointIndex: Int) -> String
7878
```
7979

8080
Provides the label that will appear on the x-axis below the point.
@@ -174,7 +174,7 @@ class ViewController: UIViewController, ScrollableGraphViewDataSource {
174174
}
175175
}
176176

177-
func label(forPlot plot: Plot, atIndex pointIndex: Int) -> String {
177+
func label(atIndex pointIndex: Int) -> String {
178178
return xAxisLabels[pointIndex]
179179
}
180180

0 commit comments

Comments
 (0)