From 789de931b4ea9adb683a6397e506dc408b2333d7 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Mon, 8 Apr 2019 16:21:22 +0200 Subject: [PATCH] Fix chart x-axes ticks --- static/chart.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/chart.html b/static/chart.html index 75f8da6..a8727c6 100644 --- a/static/chart.html +++ b/static/chart.html @@ -32,6 +32,13 @@ responsive: true, legend: { display: false + }, + scales: { + xAxes: [{ + ticks: { + precision: 0 + } + }], } } });