(chart)
| 1330 | }, |
| 1331 | |
| 1332 | afterDraw(chart) { |
| 1333 | const tooltip = chart.tooltip; |
| 1334 | |
| 1335 | if (tooltip && tooltip._willRender()) { |
| 1336 | const args = { |
| 1337 | tooltip |
| 1338 | }; |
| 1339 | |
| 1340 | if (chart.notifyPlugins('beforeTooltipDraw', {...args, cancelable: true}) === false) { |
| 1341 | return; |
| 1342 | } |
| 1343 | |
| 1344 | tooltip.draw(chart.ctx); |
| 1345 | |
| 1346 | chart.notifyPlugins('afterTooltipDraw', args); |
| 1347 | } |
| 1348 | }, |
| 1349 | |
| 1350 | afterEvent(chart, args) { |
| 1351 | if (chart.tooltip) { |
nothing calls this directly
no test coverage detected