From 6083e023dbe7c6f43a69f92cb6233c16ade4acce Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 21 Aug 2017 11:34:31 +0200 Subject: [PATCH] Experiment with different roundsing fot chart Y axis --- benchmark/website/source/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/website/source/utils.js b/benchmark/website/source/utils.js index 3c078e1..b14b60e 100644 --- a/benchmark/website/source/utils.js +++ b/benchmark/website/source/utils.js @@ -73,7 +73,7 @@ function buildChart(ctx, bare_data) { scaleLabel: {display: true, labelString: 'Render time (sec)'}, ticks: {min: 0, - max: Math.ceil(max_value * 1.25)}}]}, + max: Math.ceil((max_value + 99) / 100) * 100}}]}, tooltips: {// mode: 'index', callbacks: { footer: function(tooltipItems, data) {