]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
This fixes documentation issue #2628 2629/head
authorVanderhoven Nick <you@example.com>
Wed, 25 May 2016 09:03:50 +0000 (11:03 +0200)
committerVanderhoven Nick <you@example.com>
Wed, 25 May 2016 09:03:50 +0000 (11:03 +0200)
docs/02-Line-Chart.md

index e4895083b48d7b689454fed08e043e7aa6999e75..92736614d6cb30600b759b77a00d6814bfa572c0 100644 (file)
@@ -128,9 +128,11 @@ new Chart(ctx, {
        type: 'line',
        data: data,
        options: {
-               xAxes: [{
-                       display: false
-               }]
+               scales: {
+                       xAxes: [{
+                               display: false
+                       }]
+               }
        }
 });
 // This will create a chart with all of the default options, merged from the global config,