You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on the displayed time range, the width of the bar-chart bars becomes very narrow, up to the point where the bars become nearly invisible.
The effect depends on the selected time grain, but I haven't found a pattern yet.
I can replicate this on both, mixed time-series and time-series bar chart v2.
How to reproduce the bug
Create a diagram of type mixed time-series (bar chart here!) or ** time-series bar chart v2**, based on a dataset that has at least 1 year of data in it
Select a time range of 1 year
Vary the time grain between weeks and quaters
Activate Data Zoom and play with it; alternatively reduce the time range gradually
Expected results
The bars of the bar chart should continuously be varied according to the time grain and the time rage, so the bar-to-gap ratio is harmonic.
The old time-series bar chart may serve as a good example here.
Actual results
The width of the bars is harmonically scaled in some time ranges, but when a certain threshold is exceeded, the bar width jumps to nearly invisible vertical lines.
The odd thing here is, that I cannot identify a pattern here:
For weekly time-grain the jump is at about end of march, when the whole year is displayed.
For monthly time-grain the threshold is at the beginning of march. So far so good.
But: for quaterly time_grain the bars are always narrow lines, although there is by far enough space now.
Screenshots
The first gif shows that the threshold where the bars jump from narrow to wide and back can be narrowed by both Data Zoom and by changing the time range:
The second gif shows that the threshold depends on the time grain, where the few quaterly bars behave most erratic:
Environment
browser type and version: Chrome 96.0.4664.93
superset version: 1.4.0
all other versions: as defined in Superset's Docker image
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
@rumbin I don't want to dismissively close this, but it's been upward of a year, and I believe this was solved by a few correlated PRs. Can you verify this is resolved (or not!) in 2.0.1?
Depending on the displayed time range, the width of the bar-chart bars becomes very narrow, up to the point where the bars become nearly invisible.
The effect depends on the selected time grain, but I haven't found a pattern yet.
I can replicate this on both, mixed time-series and time-series bar chart v2.
How to reproduce the bug
Expected results
The bars of the bar chart should continuously be varied according to the time grain and the time rage, so the bar-to-gap ratio is harmonic.
The old time-series bar chart may serve as a good example here.
Actual results
The width of the bars is harmonically scaled in some time ranges, but when a certain threshold is exceeded, the bar width jumps to nearly invisible vertical lines.
The odd thing here is, that I cannot identify a pattern here:
Screenshots
The first gif shows that the threshold where the bars jump from narrow to wide and back can be narrowed by both Data Zoom and by changing the time range:
The second gif shows that the threshold depends on the time grain, where the few quaterly bars behave most erratic:
Environment
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: