Skip to content

Commit

Permalink
Update API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
philackm committed Jul 11, 2017
1 parent 09baded commit 2e3e7a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions APIv4.md
Expand Up @@ -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.
Expand Down Expand Up @@ -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]
}

Expand Down

0 comments on commit 2e3e7a3

Please sign in to comment.