diff --git a/anki/stats.py b/anki/stats.py index f5c9afcc0..862f2ad30 100644 --- a/anki/stats.py +++ b/anki/stats.py @@ -686,6 +686,10 @@ $(function () { return val.toFixed(0)+conf.timeTicks; } } + conf.yaxis.minTickSize = 1; + conf.yaxis.tickFormatter = function (val, axis) { + return val.toFixed(0); + } if (conf.series.pie) { conf.series.pie.label.formatter = function(label, series){ return '
'+Math.round(series.percent)+'%%
';