1π
β
A quick way to remedy this is to add a tooltip callback to your chart:
tooltips: {
callbacks: {
label: function(tooltipItems, data) {
if (isNaN(tooltipItems.x)) return null
return tooltipItems.xLabel
}
}
}
Source:stackexchange.com