We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09baded commit 2e3e7a3Copy full SHA for 2e3e7a3
APIv4.md
@@ -74,7 +74,7 @@ func value(forPlot plot: Plot, atIndex pointIndex: Int) -> Double
74
Provides the y-axis value for a given x-axis index.
75
76
```swift
77
-func label(forPlot plot: Plot, atIndex pointIndex: Int) -> String
+func label(atIndex pointIndex: Int) -> String
78
```
79
80
Provides the label that will appear on the x-axis below the point.
@@ -174,7 +174,7 @@ class ViewController: UIViewController, ScrollableGraphViewDataSource {
174
}
175
176
177
- func label(forPlot plot: Plot, atIndex pointIndex: Int) -> String {
+ func label(atIndex pointIndex: Int) -> String {
178
return xAxisLabels[pointIndex]
179
180
0 commit comments