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

adjusting date formats #86

Conversation

bradmbaker
Copy link
Contributor

to: @michellethomas @mistercrunch
Hey guys,

I made some updates to the date formats that I think make them much more useful. The basic problem I was trying to solve is just adding more context to the charts about what you were looking at. Sometimes, the day of week was shown, or just the month and it was unclear what you were looking at. I tried to keep it clean like it was, but also add more context. The goal is to make it less likely to make a mistake when people are passing around screen shots.

I did another small fix where I made the y-axis format on the context chart the same as on the main y-axis.

For adjusting the dates, I just changed the rules and then also added margin on the right to accommodate the longer dates, added a staggered effect to prevent overlapping, and took away a little height to make everything fit.

I tested it with my own dataset which I decided to not include as a default. It isn't all that interesting.

LMK if you have any questions and here are some pre/post screen shots.

image

image

image

image

@mistercrunch
Copy link
Member

That's nice, much more verbose. A bit redundant in places but overall much better!

mistercrunch added a commit that referenced this pull request Dec 16, 2015
@mistercrunch mistercrunch merged commit dcd3678 into apache:master Dec 16, 2015
@bradmbaker
Copy link
Contributor Author

yea, if we want to trim it down at some point, we def should, but this way there shouldn't be any ambiguity about what you're looking at
.

hughhhh referenced this pull request in lyft/incubator-superset Apr 1, 2018
kristw pushed a commit to kristw/incubator-superset that referenced this pull request Aug 14, 2018
betodealmeida pushed a commit that referenced this pull request Jul 2, 2020
graceguo-supercat pushed a commit to graceguo-supercat/superset that referenced this pull request Oct 4, 2021
…cy (apache#86)

* feat: add new subgenerators for legacy package and demo
* feat: make the default generator provide choices to choose subgenerators
zhaoyongjie referenced this pull request in zhaoyongjie/incubator-superset Nov 17, 2021
…cy (#86)

* feat: add new subgenerators for legacy package and demo
* feat: make the default generator provide choices to choose subgenerators
zhaoyongjie referenced this pull request in zhaoyongjie/incubator-superset Nov 24, 2021
…cy (#86)

* feat: add new subgenerators for legacy package and demo
* feat: make the default generator provide choices to choose subgenerators
zhaoyongjie referenced this pull request in zhaoyongjie/incubator-superset Nov 25, 2021
…cy (#86)

* feat: add new subgenerators for legacy package and demo
* feat: make the default generator provide choices to choose subgenerators
zhaoyongjie referenced this pull request in zhaoyongjie/incubator-superset Nov 26, 2021
…cy (#86)

* feat: add new subgenerators for legacy package and demo
* feat: make the default generator provide choices to choose subgenerators
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.7.0 labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants