Skip to content

Commit 9fb273d

Browse files
Closes plotly#2016. Added support for geom_candlestick.
1 parent 4bb1e44 commit 9fb273d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

R/layers2traces.R

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,16 @@ to_basic.GeomQuantile <- function(data, prestats_data, layout, params, p, ...){
622622
dat
623623
}
624624

625+
#' @export
626+
to_basic.GeomRectCS <- function(data, ...){
627+
to_basic.GeomRect(data, ...)
628+
}
629+
#' @export
630+
to_basic.GeomLinerangeBC <- function(data, ...){
631+
data[, c("xend", "y", "yend")] <- data[, c("x", "ymin", "ymax")]
632+
to_basic.GeomSegment(data, ...)
633+
}
634+
625635
#' @export
626636
to_basic.default <- function(data, prestats_data, layout, params, p, ...) {
627637
data

0 commit comments

Comments
 (0)