Open
Description
When using scrollZoom
together with nticks
, the plot gets stuck when trying to zoom around.
A few scrolls are working, then the plot gets stuck, That also hapens, when zooming in first.
library(plotly)
df <- data.frame(
ts = seq(as.POSIXct("2019-03-20 00:00:00"), by = "hour", length.out = 24),
val = sample(1:100, 24)
)
plot_ly() %>%
add_bars(data = df, x = ~ts, y = ~val) %>%
layout(dragmode = "select", autosize = TRUE,
bargap = 0.05,
xaxis = list(type = "date",
nticks = 24,
tickmode = "auto"
)) %>%
config(scrollZoom = TRUE)