Document tooltip draw hooks and only call hooks when the tooltip draws (#10276)

* Document tooltip draw hooks and only call hooks when the tooltip draws

* Update tests
This commit is contained in:
Evert Timberg
2022-04-03 10:09:46 -04:00
committed by GitHub
parent 09128947d5
commit 43889f247c
4 changed files with 20 additions and 12 deletions

View File

@@ -1797,8 +1797,8 @@ describe('Chart', function() {
'beforeDatasetDraw',
'afterDatasetDraw',
'afterDatasetsDraw',
'beforeTooltipDraw',
'afterTooltipDraw',
// 'beforeTooltipDraw',
// 'afterTooltipDraw',
'afterDraw',
'afterRender',
],