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

Add legend click event #380

Merged
merged 2 commits into from
Nov 22, 2023
Merged

Conversation

jacekpapiniak
Copy link
Contributor

I was investigating legend click event. Plotly.Blazor was not supporting this event so this PR is introducing it.
I tried to find more informations about EventData for plotly_legendclick but this website was all I could find:
https://plotly.com/javascript/plotlyjs-events/#legend-click-events

Apart from that I did print out properties that are part of this events data but it looks like it supports curveNumber and expandedIndex plus ref to layout. If you know full list of properties or know that we can return more data from this event let me know and I will add it.

Also I am getting exception regarding code snippet that it fails to get code and it fails with code 404.
Url path to snippet is right so is this because of code is not on the repo?

@sean-mcl sean-mcl merged commit 6080d9c into LayTec-AG:main Nov 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants