mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
fix options in getDatasetAtEvent
This commit is contained in:
parent
18f77db362
commit
e249de7162
@ -628,7 +628,7 @@ module.exports = function(Chart) {
|
||||
},
|
||||
|
||||
getDatasetAtEvent: function(e) {
|
||||
return Chart.Interaction.modes.dataset(this, e);
|
||||
return Chart.Interaction.modes.dataset(this, e, {intersect: true});
|
||||
},
|
||||
|
||||
getDatasetMeta: function(datasetIndex) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user