data.table 1.12.2
rAmChartsTimeSeries module : enabled multiple col_series in a list
amTimeSeries : fix passing one groupToPeriods + update thousandsSeparatoramChartsAPI() functionrAmChartsTimeSeries module : fix bug zooming on missing valuerAmChartsTimeSeries module : fix keeping first and last values when NAamcharts.js 3.21.13
add_animate_dependency functionThis package allows to draw interactive charts from the JavaScript library AmCharts using Hmtlwidgets.
Currently available chart types: funnel, gantt, gauge, pie, radar, serial, stock, xy.
Please refer to this page https://datastorm-open.github.io/introduction_ramcharts/, you will find several examples and a quick tutorial.
Moreover, full AmCharts API is available in the package using amChartsAPI().
The version 2.1.7 is available on CRAN:
install.packages("rAmCharts")
To install the "dev version", run the following code lines:
if (!require(devtools)) {
install.packages("devtools")
} else {}
devtools::install_github("datastorm-open/rAmCharts")
NB:
renderAmcharts({NULL}) does not clear the chart, use conditionalPanel instead.system.file("htmlwidgets/lib", package = "rAmCharts"). HTML reports also need a call to the method plot.library(rAmCharts)
data(iris)
amHist(iris$Sepal.Length, freq = FALSE, breaks = 30, col = "gray",
path = "https://www.amcharts.com/lib/3")
# path = system.file("htmlwidgets/lib", package = "rAmCharts"))