]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix axis IDs in documentation 2132/head
authorEvert Timberg <evert.timberg@gmail.com>
Mon, 14 Mar 2016 23:43:21 +0000 (19:43 -0400)
committerEvert Timberg <evert.timberg@gmail.com>
Mon, 14 Mar 2016 23:43:21 +0000 (19:43 -0400)
docs/02-Line-Chart.md
docs/03-Bar-Chart.md

index 00e10a7c48fdee0af0b87cae14ea8e50f822c630..2bcabc39cd2fb5de779dacb8b3758d77f509d667 100644 (file)
@@ -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",
index 58a713c59f29dce0de8c2704bf59264fb936b820..d59a63715fe4cb94d5d789e1eb29cc49d69d04f1 100644 (file)
@@ -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",