-
Notifications
You must be signed in to change notification settings - Fork 524
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
fix/bars-disappear-on-zoom #2970
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 210b9b0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@carbonrobot this fixes the issue in 2905, in a way that I don't think is going to conflict with anything else. There's a lot of jumping around in logic, from the actual component class, to its helper methods, into data, and into domain as well. I don't think this the best way to fix it in terms of code maintainability and understandability, but I think to have a better fix would require a larger refactor, which seems like something coming in the future. There might also be a slightly cleaner check than |
0165ff9
to
7839bdb
Compare
|
After seeing @nlkluth's solution here, I gave a try at subclassing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These events are tough to parse -- Nice job! One little comment that is not blocking 👍
…nd added a horizontal demo
Description
Addresses the issue where bar chart items more than 50% out of their chart area when zoomed disappear completely, as the bar middle point was being used to determine whether they should be culled from view.
Fixes # 2905
Type of Change
How Has This Been Tested?
Checklist: (Feel free to delete this section upon completion)
Original video from issue:
372569985-a4f28103-efec-4b80-8af0-52fc8f809142.mov
Video after fix:
Screen.Recording.2024-11-18.at.10.00.56.AM.mov