Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive features don't show up when using Rickshaw with Shiny #146

Open
Mullefa opened this issue Jul 2, 2013 · 3 comments
Open

Interactive features don't show up when using Rickshaw with Shiny #146

Mullefa opened this issue Jul 2, 2013 · 3 comments

Comments

@Mullefa
Copy link

Mullefa commented Jul 2, 2013

For an example see:

http://stackoverflow.com/questions/17411584/r-rcharts-and-shiny-rickshaw-plot-wont-show

@ramnathv
Copy link
Owner

Here is a gist with a solution to your problem. You will see that I have defined a modified version of renderChart called renderChart2, that includes all the divs including those containing the interactive features. In addition, you will see that I have included a css file called rickshaw.css, which is required to place all the elements correctly.

In the static version of the chart, these elements are already a part of the template, therefore not requiring any additional work. In the Shiny version, you will need to do these tweaks to get it working. I am thinking about how best to add these features to rCharts, so that you won't need to do any kind of hacking in the future. I am leaving this issue open to serve as a reminder to me, to make these changes at the package level.

@avinashmaheshjoshi
Copy link

Hey, any updates on this? I am trying to use the Rickshaw example to plot a zoomable timeseries in shiny and the interactive slider still doesn't come up.

@najsaqib
Copy link

Was wondering where this feature stands at the moment. I am assuming that it hasn't been added to the package and that the modified renderChart function and CSS file workaround is still the primary solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants