-
Notifications
You must be signed in to change notification settings - Fork 122
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
Enable click on the whole bucket #846
Comments
@nickofthyme Greetings! I just wanted to raise this issue because we're quite dependent on this usability in our distribution chart in APM, and it would be great to resolve this before shipping 7.11 so we can test the clickable container. Are you still confident in shipping this for 7.11? I put together a list of blockers and polish for the APM team here elastic/kibana#84178 with some more context. |
This commits adds a projection click listener called onProjectionListener and available in the <Settings /> component with the following characteristics: - it will fire every time the user clicks on the projection area (everything within the axes) - the listener is called with an object that contains the nearest X and Ys values. These values are not screen coordinates but the real data domain values inverted computed inverting the x and y scales. - we prevent the onProjectionListener from firing an event if a onElementClick listener is available and it has fired a click event close #846
🎉 This issue has been resolved in version 24.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [24.2.0](elastic/elastic-charts@v24.1.0...v24.2.0) (2020-11-25) ### Bug Fixes * near and far alignments for orthogonal rotations ([opensearch-project#911](elastic/elastic-charts#911)) ([6b162c6](elastic/elastic-charts@6b162c6)) ### Features * add projection click listener ([opensearch-project#913](elastic/elastic-charts#913)) ([19c14e4](elastic/elastic-charts@19c14e4)), closes [opensearch-project#846](elastic/elastic-charts#846)
Is your feature request related to a problem? Please describe.
When the difference between buckets is too big on a Bar chart, clicking on a bucket is very difficult as shown in the gif below.
Describe the solution you'd like
I would like to have the whole bucket area clickable.
The text was updated successfully, but these errors were encountered: