Experiment with different roundsing fot chart Y axis
This commit is contained in:
@@ -73,7 +73,7 @@ function buildChart(ctx, bare_data) {
|
|||||||
scaleLabel: {display: true,
|
scaleLabel: {display: true,
|
||||||
labelString: 'Render time (sec)'},
|
labelString: 'Render time (sec)'},
|
||||||
ticks: {min: 0,
|
ticks: {min: 0,
|
||||||
max: Math.ceil(max_value * 1.25)}}]},
|
max: Math.ceil((max_value + 99) / 100) * 100}}]},
|
||||||
tooltips: {// mode: 'index',
|
tooltips: {// mode: 'index',
|
||||||
callbacks: {
|
callbacks: {
|
||||||
footer: function(tooltipItems, data) {
|
footer: function(tooltipItems, data) {
|
||||||
|
Reference in New Issue
Block a user