Description Usage Arguments References See Also Examples
amPie computes a pie chart of the given value.
1 |
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data("data_pie")
amPie(data = data_pie)
# 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.