mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
add afterDatasetDraw in correct place
This commit is contained in:
parent
b96fdcaf85
commit
10f01088e4
@ -297,12 +297,12 @@ module.exports = function(Chart) {
|
|||||||
}
|
}
|
||||||
}, this, true);
|
}, this, true);
|
||||||
|
|
||||||
Chart.pluginService.notifyPlugins('afterElementDraw', [this, easingDecimal]);
|
Chart.pluginService.notifyPlugins('afterDatasetDraw', [this, easingDecimal]);
|
||||||
|
|
||||||
// Finally draw the tooltip
|
// Finally draw the tooltip
|
||||||
this.tooltip.transition(easingDecimal).draw();
|
this.tooltip.transition(easingDecimal).draw();
|
||||||
|
|
||||||
Chart.pluginService.notifyPlugins('afterDatasetDraw', [this, easingDecimal]);
|
Chart.pluginService.notifyPlugins('afterDraw', [this, easingDecimal]);
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get the single element that was clicked on
|
// Get the single element that was clicked on
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user