]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Clarify that x/y coordinates only work with the time scale (#4826)
authorBen McCann <benjamin.j.mccann@gmail.com>
Sun, 8 Oct 2017 02:18:50 +0000 (19:18 -0700)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sun, 8 Oct 2017 02:18:50 +0000 (22:18 -0400)
docs/charts/bar.md

index 524c795214cccd018cabf9362459eae4433ea261..cd5e8c9f39137f54c03e051986e92e55277e5e73 100644 (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}]