Closed jangorecki closed 10 years ago
I see ongoing discussion in #4. I will close this issue to do not double the same case.
Nevertheless, I have updated timelyportfolio/rCharts_dygraphs_shiny to use the standard rCharts renderChart2
which works correctly. Please let me know if it does not work for you.
By the way, never been called "mysterious". Kind of like it :)
Thanks for clarification. I can confirm it is working fine with renderChart2
so no workaround function is required. And "mysterious" because I'm not much into ref classes in R.
I'm trying to put dygraphs inside the shiny application. When trying to render graph as usually in shiny/rCharts I get following error in js console
dygraphs: Constructing dygraph with a non-existent div!
which reffers to dygraph.js#L422I found this repo: timelyportfolio/rCharts_dygraphs_shiny which simply uses
renderChart_nosize
function, its body looks quite mysterious for me. Anyway it plots the dygraph in shiny application but it lose the zooming capability also it do not scale to appropriate height and width (which can be seen in the_nosize
function body). All these makes @timelyportfolio workaround less useful.Is there any better way to integrate rChartsDygraphs into shiny?