Clarify that x/y coordinates only work with the time scale (#4826)

This commit is contained in:
Ben McCann 2017-10-07 19:18:50 -07:00 committed by Evert Timberg
parent 3fe198c860
commit fa2ca2c1e2

View File

@ -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}]