Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"hover" options are missing #805

Open
stockiNail opened this issue Nov 9, 2022 · 1 comment · May be fixed by #840
Open

"hover" options are missing #805

stockiNail opened this issue Nov 9, 2022 · 1 comment · May be fixed by #840
Milestone

Comments

@stockiNail
Copy link
Collaborator

The current annotations options are including a set of options which can be changed when the element is hovered.

For instance, backgroundColor or font.

These new options could be added in order to avoid to the user to implement an event handler to do that.

It seems currently disabled in CHART.JS for subresolver. (see kurkle/chartjs-chart-treemap#149 (comment))

@stockiNail stockiNail added this to the 3.0.0 milestone Nov 9, 2022
@stockiNail
Copy link
Collaborator Author

The active property of the element is not changing to true when an annotation element is hovered. This is because CHART.JS is managing it for "data" element of a controller and not to other elements, like the element created by the plugin.

Therefore this should be managed internally by the plugin itself but it could be an useless overhead just for hovering.

@stockiNail stockiNail closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2022
@stockiNail stockiNail removed this from the 3.0.0 milestone Nov 15, 2022
@stockiNail stockiNail reopened this Mar 26, 2023
@stockiNail stockiNail added this to the 3.1.0 milestone Mar 26, 2023
@stockiNail stockiNail linked a pull request Mar 26, 2023 that will close this issue
5 tasks
@LeeLenaleee LeeLenaleee modified the milestones: 3.1.0, 3.2.0 Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants