-
Notifications
You must be signed in to change notification settings - Fork 12k
Description
Documentation Is:
- Missing or needed
- Confusing
- Not Sure?
Please Explain in Detail...
PR #7922 add new interaction namespace inside the options. As far as I have understood, options.hover and tooltip are using options.interaction (and then defaults.interaction) as defaults when the specific options in options.hover and tooltip are not set.
This enables the possibility to set hover of tooltip separately starting from the same default.
The hover namespace is mentioned twice into documentation:
- https://www.chartjs.org/docs/master/general/interactions/modes
- https://www.chartjs.org/docs/master/configuration/index
but it's not clear to me why all options of hover (even if equals to the interaction ones) are not mentioned or at least is not mentioned that exists and you can use for a its purpose.
Furthermore it seems that hover namespace can contain another option, onHover, that's not documented even if it seems the same of options.onHover.
Your Proposal for Changes
I think it could be useful to document also hover namespace in some way.