fusionTheme: Adding FusionCharts theme

Description Usage Arguments Examples

View source: R/fusionTheme.R

Description

https://www.fusioncharts.com/dev/themes/introduction-to-themes

Usage

1
2
3
4
fusionTheme(
  fusionPlot,
  theme = c("fusion", "gammel", "candy", "zune", "ocean", "carbon", "umber")
)

Arguments

fusionPlot

fusionPlot object got by fusionPlot()

theme

Chart theme

Examples

1
2
3
4
5
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")

fusionchartsR documentation built on Dec. 21, 2021, 1:07 a.m.