amPie | R Documentation |
amPie computes a pie chart of the given value.
amPie(data, show_values = TRUE, depth = 0, inner_radius = 0, ...)
data |
|
show_values |
|
depth |
|
inner_radius |
|
... |
see |
See online documentation https://datastorm-open.github.io/introduction_ramcharts/ and amChartsAPI
amOptions, amBarplot, amBoxplot, amHist, amPie, amPlot, amTimeSeries, amStockMultiSet, amBullet, amRadar, amWind, amFunnel, amAngularGauge, amSolidGauge, amMekko, amCandlestick, amFloatingBar, amOHLC, amWaterfall
data("data_pie")
amPie(data = data_pie)
## Not run:
# Other examples available which can be time consuming depending on your configuration.
# Don't display values
amPie(data = data_pie, show_values = FALSE)
# 3D pie
amPie(data = data_pie, depth = 10)
# Donut chart
amPie(data = data_pie, inner_radius = 50)
# All parameters
amPie(data = data_pie, inner_radius = 50, depth = 10, show_values = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.