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

Additional axes can inherit lazy eval'd ticks #436

Open
jiwalker-usgs opened this issue Feb 13, 2017 · 1 comment
Open

Additional axes can inherit lazy eval'd ticks #436

jiwalker-usgs opened this issue Feb 13, 2017 · 1 comment
Labels

Comments

@jiwalker-usgs
Copy link
Contributor

As in this example

x <- seq(as.Date("2013-01-22"), as.Date("2013-10-02"), "days")
y <- rnorm(length(x), 71, 19)
gs <- gsplot() %>%
  points(x, y) %>%
  date_axis(side=1, pos.lab="interval", tick.int="month", snap.to="month") %>%
  axis(side=c(3,4), labels = FALSE) %>%
  grid()
gs

The ticks on side 3 should match up with side 1, but currently the ticks are determined at print-time, so side 3 inherits the auto ticks for the predetermined limits.

@lindsayplatt
Copy link

Only happening w/ date_axis. Saving for later since it doesn't impact repgen

@lindsayplatt lindsayplatt modified the milestone: 0.8.0 Mar 21, 2017
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

2 participants