superset
superset copied to clipboard
Bar chart - Impossible to maintain consistent bar width with sparse data
Bug description
When my bar chart displays sparse data, it adjusts the width of the bars. Sometimes, data meant for one day spreads over several days, making it difficult to ascertain the specific day to which each bar corresponds. (Refer to the attached video for clarity)
How to reproduce the bug
- Create a bar chart using sparse data
- Zoom in and out
- Observe the changing width of the bars
Screenshots/recordings
Superset version
4.0.0
Python version
I don't know
Node version
I don't know
Browser
Chrome
Additional context
No response
Checklist
- [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Hmm... I can't play the video for some reason. :/
@rusackas thanks for your answer. Is it better with this gif? :-)