This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Expose state object/plugin methods or common plugin object in all context instances #697
Labels
You can continue the conversation there. Go to discussion →
Use case
Preparing the inner chart sample, I have seen a possible difficulty to manage the change of the cursor when the mouse if hovering the annotation elements.
Current status
Currently, the events are triggering the callbacks with only 1 element, the nearest one. With PR #659 you could have more than 1 elements and this could affect the change of the cursor because before changing the cursor you should must be sure that there isn't any affected elements from hovering.
Possible solution
The user should know if there is any other element.
Of course the user can develop the counter management and store it in own object, shared in the application, but it could be helpful:
state.hovered
)Probably there are other use cases.
The text was updated successfully, but these errors were encountered: