0👍
There seems to be an issue with the custom property.
I recommend using the callbacks
instead :
tooltips: {
displayColors: false,
backgroundColor: 'rgb(0,0,0,1)',
callbacks: {
title: function(tooltipItems, data) {
return 'Hello';
},
}
}
See jsFiddle
- Chartjs-Chart.js (line chart) tooltip duration/delay
- Chartjs-Avoiding explicit 'any' with Chart.js v3
Source:stackexchange.com