Description Usage Arguments Examples
View source: R/FrissC3Charts.R
Friss C3 pie or donut chart
1 2 3 4 | FrissC3PieChart(value = data.frame(group1 = 20, group2 = 50, group3 = 70),
type = "pie", dataHidden = list(), width = NULL, height = 250,
maxGroups = NA, maxStringSize = 10, legendPosition = "bottom",
transition = 250, displayValues = FALSE)
|
value |
dataframe with values for the pie, the dataframe should consists of one row with a column for each group. |
type |
type of the chart, either donut or pie |
width |
width of the div the gauge is put in |
height |
height of the div the gauge is put in |
1 2 3 4 5 | ## Not run:
data <- data.frame(group1=20,group2=50,group3=70)
FrissC3PieChart(data)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.