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

New event: "dataLabelSelection" #4749

Open
antoniolopezmc opened this issue Oct 8, 2024 · 0 comments
Open

New event: "dataLabelSelection" #4749

antoniolopezmc opened this issue Oct 8, 2024 · 0 comments
Labels
feature-request New feature or request

Comments

@antoniolopezmc
Copy link

Summary

Sometimes, especially in bar charts, a specific bar is too short to be clicked. In these cases, it would be nice to be able to click on its associated data label instead.

API Changes

chart: {
      events: {
      ...
      dataLabelSelection: undefined,
      ...
      }
}

Intended Use Case

We have a bar chart and want to click on an extremely short bar, but it is not possible because the bar is practically not visible. In these cases, its corresponding data label could be used to fire an event.

@antoniolopezmc antoniolopezmc added the feature-request New feature or request label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant