R/ggfusionPlot.R
ggfusionplot.Rd
ggfusionPlot(object)
a ggplot object
library(ggplot2) library(fusionchartsR) df <- data.frame( label = rep(x = c(2012:2016), times = 2), seriesname = c(rep("iOS App Store", 5), rep("Google Play Store", 5)), values = c(1:10) ) object <- ggplot(df, aes(label, values, fill = seriesname)) + geom_col() ggfusionPlot(object)