-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 chart labels #7002
Fix chart labels #7002
Conversation
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.
This change has 17 commits, it should only be 1. (Error trying to rebase?)
They'll be combined into one during the merge (with squash), so I think it's not so important to make a rebase. |
Hi @denisov-vlad, @eradman sorry for that bug, yes look like this fix is working also for Pie aggregation |
@eradman Are there any blockers to merge it? |
Yes, this is a very "hot" code path and testing for adverse side-effects has proven to require more care and the addition of unit tests. I proposed that we revert the change that caused this issue in #7018 |
And what is the plan to solve the other bug? Because it's as bad as this. Why not just add a test to this case and consider the 2 fixes ? |
The bug with the pie charts should be fixed as well, but this is a regression. |
I've been playing around with this feature and have noticed a few things.
Screen.Recording.2024-06-17.at.2.50.52.PM.mov |
We merged an alternate fix in #7022 |
What type of PR is this?
Description
Fixed labels for charts. Before that, all labels have values = 0.
The error was that
Object
in JS has keys as strings, soObject.keys(labelsValuesDict);
returned wrong array.I don't have any experience with JS, so please review it carefully.
How is this tested?
Related Tickets & Documents
#6996
Mobile & Desktop Screenshots/Recordings (if there are UI changes)