-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
[Timeseries Bar Chart V2] Bars disappear when changing the contribution mode to "Total" #19507
Comments
I have a similar issue -- Timeseries Bar Chart V2 malfunctions when there is NULL in the results, though in my case, not directly from the data. Sample data : Screenshots show the query results: for group b, when it had no occurrence from 2021-11 to 2022-3, it's NULL, and the corresponding stacked bars on the chart are not correctly displayed (missing group c for 3 out of 5 months). The test data I created (repeat 5 times for the full set): |
I figured out a workaround, we can write our own SQL script and fill the nulls in SQL LAB and then save it as a dataset. Below is my script.
|
This issue has been fixed in the recent release please recheck and close the issue |
Thank you @Shazad-khan for checking. |
I try to use the new version of the chart, to progressively migrate from legacy to echarts.
However, the timeseries bar chart v2 can't be used for 100% stacked bar chart : Some bars are not displayed when changing the contribution mode to "Ttoal".
How to reproduce the bug
Expected results
The number of bars is the same, and all bar have a constant height : 100%
Actual results
Some bar are missing
Screenshots
Without 100% stacking :
When choosing "Contribution mode : Total"
Environment
Browser type and version: Google Chrome Version 99.0.4844.51 (Oficial build) (x86_64)
Superset version: 1.4.1
Python version: 3.8.12
Node.js version: doesn’t apply, I run on Kubernetes, using gunicorn as server
Source : AWS Athena
Any feature flags active: ALERT_REPORTS, ENABLE_TEMPLATE_PROCESSING, DASHBOARD_NATIVE_FILTERS
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
I'm also wondering why Superset has to calculate everything again, as soon as I change the contribution mode (once per contribution mode) ... Is the query sent to Athena different ?
The text was updated successfully, but these errors were encountered: