Update for integration of recharts and knitr