You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tooltip plugin calls the following plugin hooks: beforeTooltipDraw and afterTooltipDraw. These don't seem to be documentated.
Also it seems like the hook are called in the wrong place because it seems they get called every render cycle. But changing this will make it a braking change.
Your Proposal for Changes
Document the plugin hooks.
Change the hooks to only fire when the tooltip is actually being draw instead of every render cycle
Thanks for adding this as a milestone. I am currently monitoring other lifecycle triggers and watching the chart context for changes in the tooltip. It would be more logical to trigger when the tooltip notifies the chart of changes directly.
Documentation Is:
Please Explain in Detail...
The tooltip plugin calls the following plugin hooks:
beforeTooltipDraw
andafterTooltipDraw
. These don't seem to be documentated.Also it seems like the hook are called in the wrong place because it seems they get called every render cycle. But changing this will make it a braking change.
Your Proposal for Changes
Document the plugin hooks.
Change the hooks to only fire when the tooltip is actually being draw instead of every render cycle
Example
https://codepen.io/leelenaleee/pen/ZEXKRmR
The text was updated successfully, but these errors were encountered: