0👍
try adding commonSeriesSettings property to your chart
commonSeriesSettings: {
hoverMode: ‘includePoints’, selectionMode: ‘includePoints’,
}
- [Chartjs]-Change the Y-axis values from real numbers to integers in Chart.js
- [Chartjs]-Chart.js v2 is there a way to draw bar chart horizontally?
0👍
If intersect is set to true, the tooltip mode applies only when the mouse position intersects with an element. If false, the mode will be applied at all times. more about tooltip configuration is here
const options = {
plugins: {
tooltip: {
interaction:{
intersect: false,
},
},
},
};
Source:stackexchange.com