updateAmPieChart: Update the data of a pie chart

View source: R/shiny.R

updateAmPieChartR Documentation

Update the data of a pie chart

Description

Update the data of a pie chart in a Shiny app.

Usage

updateAmPieChart(session, outputId, data)

Arguments

session

the Shiny session object

outputId

the output id passed on to amChart4Output

data

new data; if it is not valid, then nothing will happen (in order to be valid it must have the same structure as the data passed on to amPieChart); in this case check the JavaScript console, it will report the encountered issue


rAmCharts4 documentation built on Sept. 22, 2022, 5:05 p.m.