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
When the selected date range is less than a month, The content displayed in the calendar chart is missing.
How to reproduce the bug
When the selected date range more than a month,the chart is displaying normally.
When the selected date range is less than a month,The content displayed in the calendar chart is missing.
Screenshots/recordings
3.mov
Superset version
4.0.1
Python version
3.10
Node version
16
Browser
Chrome
Additional context
No response
Checklist
I have searched Superset docs and Slack and didn't find a solution to my problem.
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.
The text was updated successfully, but these errors were encountered:
Hi @wycweb! I'm here to assist you with your bug report. I can help you solve bugs, answer questions, and become a contributor. Let's work together to resolve the issue.
The content displayed in the calendar chart is missing when the selected date range is less than a month because the default domain setting is set to 'hour', and the range option is set to 12. This configuration is designed to display data in hourly intervals over a span of 12 hours by default. If the selected date range is less than a month, it might not fit well within these settings, leading to missing content in the calendar chart.
To fix this, you can adjust the domain and range settings to better fit the selected date range. For example, you can change the domain to 'day' and adjust the range accordingly:
this.options={// ... other settings ...// DOMAINdomain: 'day',// Change domain to 'day'range: 7,// Adjust range to fit the selected date range// ... other settings ...};
By adjusting these settings, the calendar chart should display the content correctly for the selected date range [1].
Bug description
When the selected date range is less than a month, The content displayed in the calendar chart is missing.

How to reproduce the bug
When the selected date range more than a month,the chart is displaying normally.



When the selected date range is less than a month,The content displayed in the calendar chart is missing.
Screenshots/recordings
3.mov
Superset version
4.0.1
Python version
3.10
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: