ECharts Temporal X-Axis Shows .XXXms Instead of Year
Author: lhpaolettiCreated Sep 26, 2026Updated Sep 28, 2026
Labels#bug🦾 ai-candidate
Bug description
The bug is that (I think that) there's still a problem with the adaptive formatting on forceful maxLabel of ECharts with temporal x-axis. This is a class of bug that has happened recently, like in this PR from 6.0.1.rc1. This is how to reproduce this bug:
- Spin up the default stack with
docker compose up(make sureSUPERSET_LOAD_EXAMPLESis on) - Log in and go to "Charts"
- Search for "Top 10 Games" and click on the chart
- You'll see that the last tick on the EChart is something like
.XXXms, whereXXXis a number. It should be a valid year in the dataset, but instead it's a weird decimal millisecond format...
Screenshots/recordings
Superset version
6.1.0
Python version
3.11
Node version
18 or greater
Browser
Firefox
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.
Source: apache/superset