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

Disabling quarterly ticks also disables x labels #139

Open
HomoCodens opened this issue Apr 16, 2018 · 3 comments
Open

Disabling quarterly ticks also disables x labels #139

HomoCodens opened this issue Apr 16, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@HomoCodens
Copy link
Collaborator

library(tstools)
x <- ts(1:10, start = 1900)
tsplot(x, theme = init_tsplot_theme(quarterly_ticks = FALSE))
@HomoCodens HomoCodens added the bug label Apr 16, 2018
@HomoCodens HomoCodens added this to the 3.6.1 milestone Apr 16, 2018
@HomoCodens HomoCodens self-assigned this Apr 17, 2018
@HomoCodens
Copy link
Collaborator Author

Or is this intended?
i.e. label_pos = "mid" is not "allowed" without quarterly ticks?

 library(tstools)
 x <- ts(1:10, start = 1900)
 tsplot(x, theme = init_tsplot_theme(quarterly_ticks = FALSE, label_pos = "start"))

@HomoCodens
Copy link
Collaborator Author

I'm going to mark this down as "feature, not bug" for now.

It would probably be possible to draw the labels centered by adding invisible quarterly ticks.

@HomoCodens
Copy link
Collaborator Author

Giving it another open for discussion as the first case where it matters came up: the IVU reports.

@HomoCodens HomoCodens reopened this Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant