-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
feat: Improves the Waterfall chart #25557
feat: Improves the Waterfall chart #25557
Conversation
89b7cf9
to
5db59ec
Compare
b19a2a5
to
ad438ec
Compare
['columns'], | ||
['x_axis'], | ||
['time_grain_sqla'], | ||
['groupby'], |
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.
Don't we need a migration so that the existing charts work with the new controls?
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 chart is not officially released yet. The previous PR was an alpha version with many features missing.
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.
Ah thanks for clarification 👍
I know it's an existing component so we can address it in a separate PR, but it looks very weird - like a popover inside of a popover. I think it'd look much better if we styled it a bit by removing the border from the color picker component and giving it the same background color as the antd popover |
I agree. It will look much better. Let's address this in a follow-up to test all scenarios where this component is being used. |
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.
Code and basic testing LGTM. Should we have more comprehensive qa session before publishing the viz?
Thank you for the review @kgabryje!
That would be great! I'll spin up a test environment and leave the PR open for some days. @jinghua-qa @sadpandajoe @rusackas |
/testenv up |
@michael-s-molina Ephemeral environment spinning up at http://34.219.21.113:8080. Credentials are |
Follow-up: #25812 |
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
This PR improves the Waterfall chart developed in #17906 with the following changes:
1 - Improves the chart description and provide example thumbnails
2 - Fixes a bug with negative values where the bars are displayed above the 0 line
3 - Augments the tooltip with intermediate totals
4 - Adds support for generic chart axes
5 - Adds support for series color selection
6 - Adds support for currency formatting
7 - Adds support for time formatting
8 - Adds support for x-axis with mixed data types when using breakdowns
Hat tip to @rusackas for testing the plugin and documenting the issues here and @stephenLYZ for creating the first version of the plugin.
TESTING INSTRUCTIONS
1 - Create a Waterfall chart
2 - Test supported controls
3 - Test supported dashboard interactions
ADDITIONAL INFORMATION