I have a strange and very unpleasant problem. When I build graphic graphics inside the storyboard (from the flexdashboard package), in my legend I get a very annoying and completely unnecessary scroll bar. When someone tries to click one of the points on or off, the scroll bar twitches and it is almost impossible to click it. This scrollbar appears only when the tab with the graph of the graph is not immediately displayed during page loading - that is, if the page is loaded with another tab selected.
I can make the same chart without a storyboard, without problems in RStudio, or save it as htmlwidget and load it in Chrome. But when I load my storyboard, either in RStudio or in Chrome, I get this annoying scrollbar. A scroll bar exists, whether it be a vertical or horizontal legend.
Ggplotly objects do not have this problem.
Here is an example of an unnecessary scrollbar. The ggplotly graph is accurate, and the graph has a scroll bar.
--- title: "Untitled" output: flexdashboard::flex_dashboard: storyboard: true --- ```{r setup, include=FALSE} library(flexdashboard) ```
I was not able to find documentation on this issue, although I found a similar issue posted by someone using the python interface to plot.
I am looking for a way to completely disable the scroll bar (while saving the legend) or some explanation of the behavior of the scroll bar.
flexdashboard - 0.5, plotly - 4.7.1, R - 64 bit 3.4.1, Windows 7.
source share