From: Ben McCann Date: Sun, 8 Oct 2017 02:18:50 +0000 (-0700) Subject: Clarify that x/y coordinates only work with the time scale (#4826) X-Git-Tag: v2.7.1~1^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa2ca2c1e2a6cefb4044a33d1bd1ab44aa907dfc;p=thirdparty%2FChart.js.git Clarify that x/y coordinates only work with the time scale (#4826) --- diff --git a/docs/charts/bar.md b/docs/charts/bar.md index 524c79521..cd5e8c9f3 100644 --- a/docs/charts/bar.md +++ b/docs/charts/bar.md @@ -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}]