Chartjs-Chart.js x-axis time doesn't show values when using combined (mixed) charts

0👍

So the error was the y-axis starting from the lowest data point in the dataset. This makes the bar invisible, though it is possible to hover.

By setting:

ticks: {
    beginAtZero: true
}

in the yAxis scale i can overcome this. It is also possible to set the minBarLength on the yAxis the datapoints is attached to (to avoid 0 values not displaying)

Leave a comment