From: Evert Timberg Date: Mon, 14 Mar 2016 23:43:21 +0000 (-0400) Subject: Fix axis IDs in documentation X-Git-Tag: v2.0.0~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2132%2Fhead;p=thirdparty%2FChart.js.git Fix axis IDs in documentation --- diff --git a/docs/02-Line-Chart.md b/docs/02-Line-Chart.md index 00e10a7c4..2bcabc39c 100644 --- a/docs/02-Line-Chart.md +++ b/docs/02-Line-Chart.md @@ -86,8 +86,8 @@ var data = { // The actual data data: [65, 59, 80, 81, 56, 55, 40], - // String - If specified, binds the dataset to a certain y-axis. If not specified, the first y-axis is used. - yAxisID: "y-axis-1", + // String - If specified, binds the dataset to a certain y-axis. If not specified, the first y-axis is used. First id is y-axis-0 + yAxisID: "y-axis-0", }, { label: "My Second dataset", diff --git a/docs/03-Bar-Chart.md b/docs/03-Bar-Chart.md index 58a713c59..d59a63715 100644 --- a/docs/03-Bar-Chart.md +++ b/docs/03-Bar-Chart.md @@ -50,7 +50,7 @@ var data = { data: [65, 59, 80, 81, 56, 55, 40], // String - If specified, binds the dataset to a certain y-axis. If not specified, the first y-axis is used. - yAxisID: "y-axis-1", + yAxisID: "y-axis-0", }, { label: "My Second dataset",