-
Notifications
You must be signed in to change notification settings - Fork 612
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
fix(#9430): Use dynamic date format for axis with chronological timeUnit (timeUnit with year) #9431
base: main
Are you sure you want to change the base?
Conversation
"format": { | ||
"signal": "timeUnitSpecifier([\"year\",\"month\",\"date\",\"hours\",\"minutes\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"})" | ||
}, | ||
"format": {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better remove labelAngle now that we don't need it anymore.
"format": { | ||
"signal": "timeUnitSpecifier([\"year\",\"month\",\"date\",\"hours\",\"minutes\"], {\"year-month\":\"%b %Y \",\"year-month-date\":\"%b %d, %Y \"})" | ||
}, | ||
"format": {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better remove labelAngle now that we don't need it anymore.
…Unit with year), by using Vega's default
af69ce9
to
6c27ff9
Compare
Deploying vega-lite with Cloudflare Pages
|
TODO: let's also handle categorical -- we should keep the old behavior for categorical |
PR Description
Using timeUnitSpecifier isn't a good idea for axis. Vega's default is actually better.