Skip to content

Commit

Permalink
Clarify that x/y coordinates only work with the time scale (chartjs#4826
Browse files Browse the repository at this point in the history
)
  • Loading branch information
benmccann authored and etimberg committed Oct 8, 2017
1 parent bb18ef9 commit 64a224e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/charts/bar.md
Expand Up @@ -152,7 +152,7 @@ The `data` property of a dataset for a bar chart is specified as a an array of n
data: [20, 10]
```

You can also specify the dataset as x/y coordinates.
You can also specify the dataset as x/y coordinates when using the [time scale](./time.md).

```javascript
data: [{x:'2016-12-25', y:20}, {x:'2016-12-26', y:10}]
Expand Down

0 comments on commit 64a224e

Please sign in to comment.