I've got a horizontal bar chart that looks like this:
...but like this when I hover it:
I've tried to prevent the "hover data" from displaying like this:
var priceBarChart = new Chart(ctxBarChart, {
type: 'horizontalBar',
showTooltips: false,
data: barChartData,
options: optionsBar
});
...and like this:
var optionsBar = {
scales: {
xAxes: [
{
stacked: true
}
],
yAxes: [
{
stacked: true
}
]
},
showTooltips: false
};
...but neither works - the scrunched tip displays anyway.
How can I prevent the hover data from displaying in Chart.JS?