Experiment with different roundsing fot chart Y axis

This commit is contained in:
2017-08-21 11:34:31 +02:00
parent c9bda4032a
commit 6083e023db

View File

@@ -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) {