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

fix: don't rotate labels for ordinal timeUnit #6649

Merged
merged 5 commits into from Jun 22, 2020

Conversation

kanitw
Copy link
Member

@kanitw kanitw commented Jun 20, 2020

We can skip some labels anyway.

I've also checked all examples diff specific to this PR.
They all look better.

Merge #6648 first

@kanitw kanitw force-pushed the kw/labelangle-ordinal-timeunit branch from d2c9104 to a589c6a Compare June 20, 2020 23:18
@kanitw kanitw marked this pull request as ready for review June 21, 2020 02:48
@kanitw kanitw requested a review from a team June 21, 2020 02:48
@kanitw kanitw changed the title fix: don't rotate labels for ordinal timeUnit enh: don't rotate labels for ordinal timeUnit Jun 21, 2020
@kanitw kanitw changed the title enh: don't rotate labels for ordinal timeUnit fix: don't rotate labels for ordinal timeUnit Jun 21, 2020
kanitw and others added 3 commits June 20, 2020 20:03
- labelAngle shouldn't depend on a unit model
- getAxisConfig should only depend on styleConfigIndex not the whole config
We can skip some labels anyway
@kanitw kanitw force-pushed the kw/labelangle-ordinal-timeunit branch from 5b81346 to b18b414 Compare June 21, 2020 03:04
kanitw and others added 2 commits June 21, 2020 13:40
After thinking more, I think it's a bit surprising if changing sort would change its lableAngle.
@kanitw kanitw merged commit 5e23aed into master Jun 22, 2020
@kanitw kanitw deleted the kw/labelangle-ordinal-timeunit branch June 22, 2020 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants