]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Polar area graph scale should start at 0 by default 2857/head
authorEvert Timberg <evert.timberg+github@gmail.com>
Tue, 28 Jun 2016 02:25:38 +0000 (22:25 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Tue, 28 Jun 2016 02:25:38 +0000 (22:25 -0400)
src/controllers/controller.polarArea.js

index 8b63eaf4b0e25338f5ec1915a59f66d67c7c0f78..086ef5972defedf09aba209ec6065c0bca94c7b7 100644 (file)
@@ -8,7 +8,10 @@ module.exports = function(Chart) {
 
                scale: {
                        type: "radialLinear",
-                       lineArc: true // so that lines are circular
+                       lineArc: true, // so that lines are circular
+                       ticks: {
+                               beginAtZero: true
+                       }
                },
 
                //Boolean - Whether to animate the rotation of the chart