This is an implementation of the Chart.js library in R using the htmlwidgets framework.
devtools::install_github("tutuchan/chartjs")
The Chart.js team has updated the documentation for v2.0 at this adress.
Some examples are available in the inst directory.
- Polar Area charts should be drawn when the page is first loaded, meaning they can't be inside tabs for example,
- in flexdashboard documents, use the following options:
cjsOptions(responsive = FALSE, maintainAspectRatio = FALSE)
to ensure that the charts are correctly sized.