Skip to content

6.0.1.rc1 - last year on bar chart x-axis has incorrect formatting #38072

@sfirke

Description

@sfirke

Bug description

I'm testing 6.0.1rc1 and found that the last value on a bar chart's x-axis is displaying not as a year, the format of all other x-axis labels, but as a timestamp plus some other string (?). See screenshots below. This is a regression from 6.0.0.

Looking through the changelog for 6.0.1rc1, could have been caused by this: #37181 ?

Screenshots/recordings

Here's the desired behavior in 6.0.0:

Image

Here's the bad behavior in 6.0.1rc1:

Image

Here's the chart's design view, FYI:

Image

Superset version

master / latest-dev

Python version

Not applicable

Node version

Not applicable

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    #bug:regressionBugs that are identified as regessionsviz:charts:barRelated to the Bar chart

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions