Skip to content

Commit 2f573a3

Browse files
committed
Enable ggiraph zoom option
1 parent 7290384 commit 2f573a3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

R/mod_plots.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,8 @@ patient_plot_server <- function(id, subject_var,
542542
options = list(
543543
ggiraph::opts_selection(type = "none"),
544544
ggiraph::opts_sizing(rescale = TRUE),
545-
ggiraph::opts_tooltip(css = "border:none; padding:0px;")
545+
ggiraph::opts_tooltip(css = "border:none; padding:0px;"),
546+
ggiraph::opts_zoom(min = 0.5, max = 5)
546547
)
547548
)
548549
})

0 commit comments

Comments
 (0)