You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "madankgit (via GitHub)" <gi...@apache.org> on 2026/02/04 08:51:37 UTC

[I] X-Axis Labels Not Fully Visible [superset]

madankgit opened a new issue, #37659:
URL: https://github.com/apache/superset/issues/37659

   ### Bug description
   
   **Bug Description:**
   In Apache Superset time-series charts (Line chart with Area enabled), X-axis year labels at the chart boundaries are partially clipped. The current year label (e.g., 2026) is not fully visible, impacting chart readability.
   
   **Steps to Reproduce:**
   
   1. Use a dataset containing a date column (date_value) with data spanning multiple years (e.g., 2025–2026).
   2. Create a time-series Line Chart and enable the Area option under the Customize tab
   3. Configure:
       -   Time column: date_value
       -   Time Grain: Year
      
   4. Observe the X-axis labels
   
   <img width="919" height="301" alt="Image" src="https://github.com/user-attachments/assets/20309c9f-eb7f-454d-ac26-69c8b1fab484" />
   
   <br><br>
   **Expected Behavior**
   
   All X-axis year labels should be fully visible and clearly readable without truncation.
   
   <img width="634" height="291" alt="Image" src="https://github.com/user-attachments/assets/f7b6a1ec-0625-46fa-a13d-1744af2a6b9d" />
   
   <br><br>
   **Actual Behavior**
   
   The boundary year label (e.g., 2026) on the X-axis is partially clipped and not fully visible, while it remains correctly displayed in the tooltip.
   
   <img width="640" height="301" alt="Image" src="https://github.com/user-attachments/assets/3b2bb22d-3018-4c9f-a669-06cc64789737" />
   
   <img width="632" height="315" alt="Image" src="https://github.com/user-attachments/assets/dbea0aa0-a6fa-4e59-9d6e-4e5bc04aaaf3" />
   
   <br><br>
   **Impact**
   
   - Users may misinterpret time ranges and trends due to unclear or missing axis labels, affecting data analysis accuracy.
   - Clean visualization of yearly patterns is not possible
   - Requires dataset-level workarounds using calculated columns
   
   
   
   
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### 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.
   - [x] 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] X-Axis Labels Not Fully Visible [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe closed issue #37659: X-Axis Labels Not Fully Visible
URL: https://github.com/apache/superset/issues/37659


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] X-Axis Labels Not Fully Visible [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #37659:
URL: https://github.com/apache/superset/issues/37659#issuecomment-3946567864

   I'll leave the issue open until we hear a response, but usually we close these when they've been fixed on master. The validation of that would be nice to have. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] X-Axis Labels Not Fully Visible [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #37659:
URL: https://github.com/apache/superset/issues/37659#issuecomment-3946564205

   Can you check to see if that merged PR does indeed fix this on master? Maybe we can make sure it gets into 6.0.1 if it hasn't already (cc @sadpandajoe)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] X-Axis Labels Not Fully Visible [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #37659:
URL: https://github.com/apache/superset/issues/37659#issuecomment-3846148593

   <!-- Answer -->
   This issue with X-axis year labels being clipped at the chart boundaries in time-series charts was recently fixed in Superset. The root cause was in the ECharts configuration—by default, the last label could be hidden or clipped due to overlap detection. The fix (merged in PR #37181 on 2026-01-19) sets showMaxLabel: true and alignMaxLabel: 'right' for time-based axes, ensuring the last label (like 2026) is fully visible [details here](https://github.com/apache/superset/pull/37181).
   
   If you are running the latest master/dev branch after this date, you should have the fix. If you still see the issue, try adjusting chart controls like "X Axis Label Interval" (set to "All"), "xAxisLabelRotation", or "truncateXAxis" in the chart's Customize panel [see discussion](https://github.com/apache/superset/issues/36325). Let me know if the problem persists after updating or tweaking these settings!
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/2bc22a43-9574-45a5-b766-62d4db6cdd48?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/2bc22a43-9574-45a5-b766-62d4db6cdd48?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/2bc22a43-9574-45a5-b766-62d4db6cdd48?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/2bc22a43-9574-45a5-b766-62d4db6cdd48?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2bc22a43-9574-45a5-b766-62d4db6cdd48?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/2bc22a43-9574-45a5-b766-62d4db6cdd48?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2bc22a43-9574-45a5-b766-62d4db6cdd48?feedback_type=other)</sup>
   
   [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20issue%20with%20X-axis%20year%20labels%20being%20clipped%20at%20the%20chart%20boundaries%20in%20time-series%20charts%20was%20recently%20fixed%20in%20Superset.%20The%20root%20cause%20was%20in%20the%20ECharts%20configuration%E2%80%94by%20default%2C%20the%20last%20label%20could%20be%20hidden%20or%20clipped%20due%20to%20overlap%20detection.%20The%20fix%20%28merged%20in%20PR%20%2337181%20on%202026-01-19%29%20sets%20showMaxLabel%3A%20true%20and%20alignMaxLabel%3A%20%27right%27%20for%20time-based%20axes%2C%20ensuring%20the%20last%20label%20%28like%202026%29%20is%20fully%20visible%C2%A0%5Bdetails%20here%5D%28https%3A//github.com/apache/superset/pull/37181%29.%0A%0AIf%20you%20are%20running%20the%20latest%20master/dev%20branch%20after%20this%20date%2C%
 20you%20should%20have%20the%20fix.%20If%20you%20still%20see%20the%20issue%2C%20try%20adjusting%20chart%20controls%20like%20%22X%20Axis%20Label%20Interval%22%20%28set%20to%20%22All%22%29%2C%20%22xAxisLabelRotation%22%2C%20or%20%22truncateXAxis%22%20in%20the%20chart%27s%20Customize%20panel%C2%A0%5Bsee%20discussion%5D%28https%3A//github.com/apache/superset/issues/36325%29.%20Let%20me%20know%20if%20the%20problem%20persists%20after%20updating%20or%20tweaking%20these%20settings%21)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/37659)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] X-Axis Labels Not Fully Visible [superset]

Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #37659:
URL: https://github.com/apache/superset/issues/37659#issuecomment-4013467608

   It sounds like it's fixed in master and we haven't gotten a confirmation in a bit. Going to close, feel free to reopen a new ticket if it's happening still in later versions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org