]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix the example of Linear Radial Axis (#5633)
authorAkihiko Kusanagi <nagi@nagi-p.com>
Wed, 11 Jul 2018 22:59:16 +0000 (06:59 +0800)
committerEvert Timberg <evert.timberg+github@gmail.com>
Wed, 11 Jul 2018 22:59:16 +0000 (18:59 -0400)
docs/axes/radial/linear.md

index 594901db3350cdb1b4977157db279670dba70c4f..e19a33d75fdb4647b8b448ca5f2eafba1066e0d2 100644 (file)
@@ -76,14 +76,12 @@ This example sets up a chart with a y axis that creates ticks at `0, 0.5, 1, 1.5
 
 ```javascript
 let options = {
-    scales: {
-        yAxes: [{
-            ticks: {
-                max: 5,
-                min: 0,
-                stepSize: 0.5
-            }
-        }]
+    scale: {
+        ticks: {
+            max: 5,
+            min: 0,
+            stepSize: 0.5
+        }
     }
 };
 ```