fusionLogo {fusionchartsR} | R Documentation |
Adding FusionCharts logo
Description
https://www.fusioncharts.com/dev/chart-guide/chart-configurations/loading-external-logo
Usage
fusionLogo(
fusionPlot,
logoURL = "NULL",
logoAlpha = "40",
logoScale = "80",
logoPosition = c("TL", "TR", "BL", "BR", "CC"),
logoLink = NULL
)
Arguments
fusionPlot |
fusionPlot object got by |
logoURL |
Specify the URL of the external logo |
logoAlpha |
Set the transparency of the external logo |
logoScale |
Set the scale of the external logo (0 to 300) |
logoPosition |
Specify the position of the external logo |
logoLink |
Add an external link to the external logo |
Examples
library(fusionchartsR)
df <- data.frame(label = c("Venezuela", "Saudi", "Canada", "Russia"), value = c(290, 260,180, 115))
logoURL <- "https://static.fusioncharts.com/sampledata/images/Logo-HM-72x72.png"
df %>%
fusionPlot(x = "label", y = "value", type = "doughnut2d") %>%
fusionLogo(logoURL = logoURL) %>%
fusionTheme(theme = "fusion")
[Package fusionchartsR version 0.0.3 Index]