rangeslider
From plotly v4.5.2
by Carson Sievert
Add a range slider to the x-axis
Add a range slider to the x-axis
Usage
rangeslider(p, ...)
Arguments
- p
plotly object.
- ...
these arguments are documented here https://plot.ly/r/reference/#layout-xaxis-rangeslider
Examples
library(plotly)
# NOT RUN {
plot_ly(x = time(USAccDeaths), y = USAccDeaths) %>%
add_lines() %>%
rangeslider()
# }
Community examples
Looks like there are no examples yet.