(chart)
| 1244 | }, |
| 1245 | |
| 1246 | afterDraw(chart) { |
| 1247 | const tooltip = chart.tooltip; |
| 1248 | |
| 1249 | if (tooltip && tooltip._willRender()) { |
| 1250 | const args = { |
| 1251 | tooltip |
| 1252 | }; |
| 1253 | |
| 1254 | if (chart.notifyPlugins('beforeTooltipDraw', {...args, cancelable: true}) === false) { |
| 1255 | return; |
| 1256 | } |
| 1257 | |
| 1258 | tooltip.draw(chart.ctx); |
| 1259 | |
| 1260 | chart.notifyPlugins('afterTooltipDraw', args); |
| 1261 | } |
| 1262 | }, |
| 1263 | |
| 1264 | afterEvent(chart, args) { |
| 1265 | if (chart.tooltip) { |
nothing calls this directly
no test coverage detected