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 date format #13293

Closed
Riskatri opened this issue Feb 23, 2021 · 10 comments
Closed

pie chart date format #13293

Riskatri opened this issue Feb 23, 2021 · 10 comments
Assignees
Labels
#bug:cosmetic Cosmetic/layout/design tweak needed viz:charts:pie Related to the Pie chart

Comments

@Riskatri
Copy link

hi, i make a pie chart using apache superset and have a periode data but the data getting value 1491829101010 not a date format. if i want to change the value to date format as my data in database. what should i do?

@junlincc
Copy link
Member

Hi @Riskatri please fill out the issue template with details, screenshot, reproduce steps, and your current version. if you are not on the latest v1.0.1, please do check it out and lmk.

@junlincc junlincc added need:more-info Requires more information from author need:screenshot labels Feb 23, 2021
@Riskatri
Copy link
Author

Hi @Riskatri please fill out the issue template with details, screenshot, reproduce steps, and your current version. if you are not on the latest v1.0.1, please do check it out and lmk.

hi, i use apache superset version 1.0.1,
i have data period as datetime in my database and then i create a pie chart but the periode value like this
Capture

period value in my database like this '2019-02-23'

@eugeniamz
Copy link

@junlincc I verified this issue

@eugeniamz eugeniamz added viz:charts:pie Related to the Pie chart #bug:cosmetic Cosmetic/layout/design tweak needed and removed need:more-info Requires more information from author need:screenshot labels Feb 26, 2021
@apache apache deleted a comment from 0101Unkown0101 Oct 19, 2021
@rosemarie-chiu
Copy link
Contributor

rosemarie-chiu commented Dec 6, 2021

This is still an issue. The same dataset able to show date format on table chart but not on pie chart:
CleanShot 2021-12-06 at 20 00 38@2x

CleanShot 2021-12-06 at 20 03 00@2x

cc @yousoph

@stephenLYZ
Copy link
Member

stephenLYZ commented Jan 4, 2022

@rosemarie-chiu @eugeniamz Heya, I'm following this issue, but I cannot reproduce in my local. Can I get more reproduce paths?

@villebro
Copy link
Member

villebro commented Jan 4, 2022

@kgabryje I think you did some related work fairly recently, do you remember if you were able to fix this?

@kgabryje
Copy link
Member

kgabryje commented Jan 4, 2022

I can reproduce this issue on latest master. @stephenLYZ Have you tried grouping by a temporal column?
image

@villebro I worked on Big Number and Calendar, looks like Pie chart also needs some polishing

@stephenLYZ
Copy link
Member

@kgabryje yeah. Weird, latest master branch
image

@rusackas
Copy link
Member

I just tried @stephenLYZ 's example on my local, and it's broken. I'm not sure what's special about your environment/setup that might make it different. Are you hosting the examples data in an unusual database or something?

@rusackas
Copy link
Member

@kgabryje will take a look if @stephenLYZ can't reproduce this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug:cosmetic Cosmetic/layout/design tweak needed viz:charts:pie Related to the Pie chart
Projects
None yet
Development

No branches or pull requests

8 participants