Open jarmo-kauko opened 10 years ago
I have the same problem, I think this issue is related to the last update of rChart and Markdown package. I'm going to install last Rstudio in order to visualize the markdown file this sunday. I don't know if I can't see the graphics because I'm not using the last version of Rstudio.
R Markdown has introduced a new system of html widgets. Once I implement that, including charts inline should be easier. The angularjs piece is also being refactored to be more functional and support multiple controllers. I am leaving this issue open to serve as a reminder.
This sounds cool!!. I could put addcontrols in a markdown and slidify but in this version I can't. @ramnathv could you tell us how to put a html file into Rmd (sorry I don't remember)... I'm going to try understand the difference between this version of rChart and the previous one and if I could, I'd help you. I'm a undergrade student of economics and I have a some experience programming...
@ramnathv Sounds great, keep us updated how it goes. I'd like to test it out as soon as you have something working.
@arturochian With quite small changes, I was able to get multiple inline charts with controls working. Check my PR if you want to try it out.
Great job with rCharts, I'm really enjoying it :+1:
I'm using RStudio (0.98.741) preview release with new R Markdown to generate a standalone website, as described here. I want to use 'inline' nvd3 charts so that .js libraries and stylesheets are used from a shared libs folder.
Here are a few problems I encountered:
<div id='...' class='rChart'>
is generated twice: once bytemplate$chartDiv
and once from lib/controls/script.html.To create a standalone test case, I included scripts and styles directly to RMarkdown:
addFilters