From 98ffbc8e588dcc14ac7fe523bf8b23cdbf811028 Mon Sep 17 00:00:00 2001 From: Tim Stallard Date: Mon, 3 Apr 2017 23:44:37 +0100 Subject: [PATCH] Freq graphs now begin at zero --- src/blocks/frequency.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/blocks/frequency.js b/src/blocks/frequency.js index 34f6881..ae1860c 100644 --- a/src/blocks/frequency.js +++ b/src/blocks/frequency.js @@ -133,6 +133,13 @@ module.exports = { }, legend: { display: false + }, + scales: { + yAxes: [{ + ticks: { + beginAtZero: true + } + }] } }, data: { @@ -155,6 +162,13 @@ module.exports = { }, legend: { display: false + }, + scales: { + yAxes: [{ + ticks: { + beginAtZero: true + } + }] } }, data: {