GitHub user weiSnowJhon added a comment to the discussion: How can I show every hourly label on a Superset time‑based bar chart?
Hi @oballi **I believe you might have already resolved this since it's been a while, but I'm sharing this here in hopes that it helps others facing the same issue.** I encountered the same problem, and it remains unresolved in version 6.0.0. I’ve found a **workaround** that I’ve verified working in **Superset 6.0.0**. The issue is that setting **X Axis Label Interval** to **ALL** often fails when the dimension is a native time type. If you prefer not to modify the frontend source code or rebuild the project, you can try this dataset-level fix: 1. **Create a Calculated Column**: Create a new field (e.g., `date_str`) in your dataset. 2. **Cast to String**: Convert your original date field into a `STRING` type. 3. **Update X-Axis**: Replace the original date dimension with this new `date_str` field in your chart configuration. By treating the time dimension as a string, Superset respects the "ALL" interval setting correctly. <img width="1876" height="768" alt="6f4fd813-0be0-4ff1-90a1-44a2c3c44797" src="https://github.com/user-attachments/assets/031b5688-0de0-4eac-8780-acfd7a0825d0" /> GitHub link: https://github.com/apache/superset/discussions/33581#discussioncomment-15792887 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
