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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to