knitr to recharts

The structure changed for integration of recharts and knitr