#44698·superset

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:

  1. Spin up the default stack with docker compose up (make sure SUPERSET_LOAD_EXAMPLES is on)
  2. Log in and go to "Charts"
  3. Search for "Top 10 Games" and click on the chart
  4. You'll see that the last tick on the EChart is something like .XXXms, where XXX is a number. It should be a valid year in the dataset, but instead it's a weird decimal millisecond format...

Screenshots/recordings

Image

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.