Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pie chart series are not displayed correctly in the config (using timestamp instead of short date) #21504

Closed
paoliniluis opened this issue Apr 7, 2022 · 1 comment · Fixed by #21691
Assignees
Labels
.Frontend Priority:P3 Cosmetic bugs, minor bugs with a clear workaround .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects Visualization/Chart Settings Visualization/Charts/Pie
Milestone

Comments

@paoliniluis
Copy link
Contributor

Describe the bug
When building a pie chart with a timestamp as series, the series will be displayed in the chart config with a different format than the one that is being used in the chart itself. E.g. "August, 2017" is shown in the chart, but the series in the chart config will be "2017-08-01T00:00:00Z"

Logs
No logs

To Reproduce

  1. Build a pie chart with the following: Orders-> sum of quantity per Created_at (month)
  2. go to the settings of the chart -> Display tab
  3. see the dates being rendered as "YYYY-MM-DD with timezone"

Expected behavior
Show the exact same series name as you see in the chart, so "August, 2017" in the chart should be "August, 2017" in the series name

Screenshots
image

Information about your Metabase Installation:

  • Your browser and the version: Brave latest
  • Your operating system: Ubuntu 20.04.4
  • Your databases: Postgres 14
  • Metabase version: 1.42.3
  • Metabase hosting environment: Docker
  • Metabase internal database: Postgres 14

Severity
Cosmetic

Additional context
NA

@nemanjaglumac
Copy link
Member

Please don't forget to add .Reproduced label when you add a repro for an issue.

This was referenced Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Frontend Priority:P3 Cosmetic bugs, minor bugs with a clear workaround .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects Visualization/Chart Settings Visualization/Charts/Pie
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants