From: Evert Timberg Date: Tue, 28 Jun 2016 02:25:38 +0000 (-0400) Subject: Polar area graph scale should start at 0 by default X-Git-Tag: v2.2.0-rc.1~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2857%2Fhead;p=thirdparty%2FChart.js.git Polar area graph scale should start at 0 by default --- diff --git a/src/controllers/controller.polarArea.js b/src/controllers/controller.polarArea.js index 8b63eaf4b..086ef5972 100644 --- a/src/controllers/controller.polarArea.js +++ b/src/controllers/controller.polarArea.js @@ -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