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.
cjsOptions(responsive = FALSE, maintainAspectRatio = FALSE)
to ensure that the charts are correctly sized.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.