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

Line Chart Legend Not Clickable #11269

Closed
shaharzoo93 opened this issue May 4, 2023 · 2 comments
Closed

Line Chart Legend Not Clickable #11269

shaharzoo93 opened this issue May 4, 2023 · 2 comments

Comments

@shaharzoo93
Copy link

Expected behavior

Hi,

I used Node-red Dashboard Line Chart with a legend option which internally used Chart.js.
It's working properly with a simple configuration.
Applied zoom CSS and legend click should work.
image

I raised the same issue on Node-red also. Please check the below link for reference.
node-red/node-red-dashboard#804

Current behavior

I applied the zoom property to Canvas and the chart looks proper but the legend click is not working.

image

If I removed the zoom CSS then the legend click is working properly.
image

Reproducible sample

node-red/node-red-dashboard#804

Optional extra steps/info to reproduce

Possible solution

Context

chart.js version

v.2.3.0

Browser name and version

Link to your project

@LeeLenaleee
Copy link
Collaborator

as described in the issue template versions below 4.0 are not supported anymore and will be disregarded.

Second the zoom property is non standard and it was decided here we won't do anything with it so you will need to fix this externally

#7178 (comment)

@LeeLenaleee
Copy link
Collaborator

Closing as it is about a verry old version of chart.js and as per the linked comment we won't fix css zoom related issues since its non standard and not on the track to being standard

@LeeLenaleee LeeLenaleee closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants