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.

Comment From: rusackas

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

Comment From: edupre

bug_superset2

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

Comment From: rusackas

Sorry this slid under the radar for so long, but the GIF did help display the issue better. It looks like this is on the Mixed Chart viz, but I'm wondering: • does the regular bar chart have the same issue, or is it just the mixed chart? • Is this still an issue in 4.1.1 / 5.0.0rc1?

Comment From: rusackas

If we can't validate this on current releases, we may close it as inactive before long.