Skip to content

Commit 49f51c9

Browse files
committed
add date arguments to time scales
1 parent 5eb22ed commit 49f51c9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

R/scale-date.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,11 @@ scale_y_datetime <- function(name = waiver(),
223223
#' @rdname scale_date
224224
scale_x_time <- function(name = waiver(),
225225
breaks = waiver(),
226+
date_breaks = waiver(),
226227
minor_breaks = waiver(),
228+
date_minor_breaks = waiver(),
227229
labels = waiver(),
230+
date_labels = waiver(),
228231
limits = NULL,
229232
expand = waiver(),
230233
oob = censor,
@@ -254,8 +257,11 @@ scale_x_time <- function(name = waiver(),
254257
#' @export
255258
scale_y_time <- function(name = waiver(),
256259
breaks = waiver(),
260+
date_breaks = waiver(),
257261
minor_breaks = waiver(),
262+
date_minor_breaks = waiver(),
258263
labels = waiver(),
264+
date_labels = waiver(),
259265
limits = NULL,
260266
expand = waiver(),
261267
oob = censor,

0 commit comments

Comments
 (0)