Usage
fusionTheme(
fusionPlot,
theme = c("fusion", "gammel", "candy", "zune", "ocean", "carbon", "umber")
)
Arguments
- fusionPlot
fusionPlot object got by
fusionPlot()
- theme
Chart theme
Examples
library(fusionchartsR)
df <- data.frame(label = c("Venezuela", "Saudi", "Canada", "Russia"), value = c(290, 260,180, 115))
df %>%
fusionPlot(x = "label", y = "value", type = "pie2d") %>%
fusionTheme(theme = "gammel")