Open ghost opened 8 years ago
Are you setting an explicit height
and width
on the chart?
dimple(..., height = , width = )
I know there are quite a few issues/complications when combining ioslides with htmlwidgets
, see https://github.com/ramnathv/htmlwidgets/issues/129.
yes, I have tried many combinations - with and without size, set_bounds. I don't have the problem with a normal markdown or in slidy. It seems to be related to ioslides.
i run r markdown ioslides with a dimple chart and it plots perfectly in the preview, but not in the browser.
this is perfect [rstudio]: .
this is not [browser]:
I have tried to set the plot size with set_bounds(x = 50, y = 50, width = 600, height = 450) [*]. This give the problem that the rollover label wraps to the wrong side, so you can't read what's there:
The data that I use are from a client, and I can't reproduce the problem with a stardard dataset like mtcars.
[*] the documentation terms this boundary setting sometimes as "setBounds" and sometimes as "set_bounds".