superset icon indicating copy to clipboard operation
superset copied to clipboard

Bar chart - Impossible to maintain consistent bar width with sparse data

Open edupre opened this issue 1 year ago • 4 comments

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

  1. Create a bar chart using sparse data
  2. Zoom in and out
  3. Observe the changing width of the bars

Screenshots/recordings

bug_superset.webm

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.

edupre avatar May 02 '24 10:05 edupre

Hmm... I can't play the video for some reason. :/

rusackas avatar May 02 '24 18:05 rusackas

bug_superset2

@rusackas thanks for your answer. Is it better with this gif? :-)

edupre avatar May 02 '24 21:05 edupre