dosubot[bot] commented on issue #38973:
URL: https://github.com/apache/superset/issues/38973#issuecomment-4162042631

   <!-- Answer -->
   This is a known active area of bugs in Superset's ECharts-based timeseries 
charts. X-axis label misalignment has several related root causes, and there 
have been multiple recent fixes and open PRs targeting this:
   
   **Recently merged fixes (on `master`):**
   
   - [PR #38733](https://github.com/apache/superset/pull/38733) — Deduplicates 
x-axis labels that appeared twice at axis boundaries (merged 2026-03-27) 
[[1]](https://github.com/apache/superset/pull/38733)
   - [PR #38017](https://github.com/apache/superset/pull/38017) — Fixes 
adaptive formatting showing raw timestamps instead of readable dates (merged 
2026-03-04) [[2]](https://github.com/apache/superset/pull/38017)
   - [PR #37755](https://github.com/apache/superset/pull/37755) — Fixes rotated 
labels disappearing and phantom labels with no data points (merged 2026-02-26) 
[[3]](https://github.com/apache/superset/pull/37755)
   
   **Still-open PRs that may be relevant:**
   
   - [PR #38083](https://github.com/apache/superset/pull/38083) — Fixes 
`showMaxLabel` displaying raw timestamps when the formatter is undefined 
[[4]](https://github.com/apache/superset/pull/38083)
   - [PR #36214](https://github.com/apache/superset/pull/36214) — Fixes 
incorrect x-axis ordering for string/numeric-like dimensions 
[[5]](https://github.com/apache/superset/pull/36214)
   
   The core issue is in 
[`transformProps.ts`](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts),
 where several ECharts settings (`hideOverlap`, `showMaxLabel`, `formatter`) 
interact in complex ways that can cause labels to not correspond to their data 
points.
   
   Could you share more details about your setup — specifically the chart type 
(line/bar/area/mixed), the x-axis column type (timestamp vs. string), the time 
grain, and the x-axis label format you're using? That would help narrow down 
which of these bugs you're hitting.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention 
[@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=brand-link).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/b2b8e686-ada4-4caf-867f-cf4d49e0f10b?feedback_type=great_response&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/b2b8e686-ada4-4caf-867f-cf4d49e0f10b?feedback_type=irrelevant_answer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/b2b8e686-ada4-4caf-867f-cf4d49e0f10b?feedback_type=incorrect_sources&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/b2b8e686-ada4-4caf-867f-cf4d49e0f10b?feedback_type=too_verbose&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-too_verbose)
 | [Hallucination](https://app.dosu.dev/response-feedback/b2b8e686-ada4
 
-4caf-867f-cf4d49e0f10b?feedback_type=hallucination&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/b2b8e686-ada4-4caf-867f-cf4d49e0f10b?feedback_type=bug_report&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/b2b8e686-ada4-4caf-867f-cf4d49e0f10b?feedback_type=other&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-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&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=chat-badge)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20a%20known%20active%20area%20of%20bugs%20in%20Superset%27s%20ECharts-based%20timeseries%20charts.%20X-axis%20label%20misalignment%20has%20several%20related%20root%20causes%2C%20and%20there%20have%20been%20multiple%20recent%20fixes%20and%20open%20PRs%20targeting%20this%3A%0A%0A%2A%2ARecently%20merged%20fixes%20%28on%20%60master%60%29%3A%2A%2A%0A%0A-%20%5BPR%20%2338733%5D%28https%3A//github.com/apache/superset/pull/38733%29%20%E2%80%94%20Deduplicates%20x-axis%20labels%20that%20appeared%20twice%20at%20axis%20boundaries%20%28merged%202026-03-27%29%20%5B%5B1%5D%5D%28https%3A//github.com/apache/superset/pull/38733%29%0A-%20%5BPR%20%2338017%5D%28https%3A//github.com/apa
 
che/superset/pull/38017%29%20%E2%80%94%20Fixes%20adaptive%20formatting%20showing%20raw%20timestamps%20instead%20of%20readable%20dates%20%28merged%202026-03-04%29%20%5B%5B2%5D%5D%28https%3A//github.com/apache/superset/pull/38017%29%0A-%20%5BPR%20%2337755%5D%28https%3A//github.com/apache/superset/pull/37755%29%20%E2%80%94%20Fixes%20rotated%20labels%20disappearing%20and%20phantom%20labels%20with%20no%20data%20points%20%28merged%202026-02-26%29%20%5B%5B3%5D%5D%28https%3A//github.com/apache/superset/pull/37755%29%0A%0A%2A%2AStill-open%20PRs%20that%20may%20be%20relevant%3A%2A%2A%0A%0A-%20%5BPR%20%2338083%5D%28https%3A//github.com/apache/superset/pull/38083%29%20%E2%80%94%20Fixes%20%60showMaxLabel%60%20displaying%20raw%20timestamps%20when%20the%20formatter%20is%20undefined%20%5B%5B4%5D%5D%28https%3A//github.com/apache/superset/pull/38083%29%0A-%20%5BPR%20%2336214%5D%28https%3A//github.com/apache/superset/pull/36214%29%20%E2%80%94%20Fixes%20incorrect%20x-axis%20ordering%20for%20string/numer
 
ic-like%20dimensions%20%5B%5B5%5D%5D%28https%3A//github.com/apache/superset/pull/36214%29%0A%0AThe%20core%20issue%20is%20in%20%5B%60transformProps.ts%60%5D%28https%3A//github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts%29%2C%20where%20several%20ECharts%20settings%20%28%60hideOverlap%60%2C%20%60showMaxLabel%60%2C%20%60formatter%60%29%20interact%20in%20complex%20ways%20that%20can%20cause%20labels%20to%20not%20correspond%20to%20their%20data%20points.%0A%0ACould%20you%20share%20more%20details%20about%20your%20setup%20%E2%80%94%20specifically%20the%20chart%20type%20%28line/bar/area/mixed%29%2C%20the%20x-axis%20column%20type%20%28timestamp%20vs.%20string%29%2C%20the%20time%20grain%2C%20and%20the%20x-axis%20label%20format%20you%27re%20using%3F%20That%20would%20help%20narrow%20down%20which%20of%20these%20bugs%20you%27re%20hitting.)&nbsp;[![Join
 Discord](https://img.shields.io/badge/join-586
 
5F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=join-discord)&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/38973)


-- 
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