Hi
Im trying to have a range for the 2nd y-axis however its not working. AS far I see the code works cause when I add the range = c(etc) to yaxis1 it works, but it doesnt on the yaxis2…why?
plot <- plot %>% layout(title = “Test”,
xaxis = list(titel = “Date”,
rangeslider = list(thickness = 0.05)),
yaxis = list(side = ‘left’, title = ‘Plot 1’,
showgrid = F, zeroline = F, type = “log”,
showline = T),
yaxis2 = list(side = ‘right’, overlaying = “y”,
title = ‘Plot 2’,
showgrid = F, zeroline = F,
showline = T), range = c(0.4, 1.1))