https://www.fusioncharts.com/dev/chart-guide/chart-configurations/axes
fusionCustomAxis(
fusionPlot,
showlabels = TRUE,
xAxisPosition = c("bottom", "top", "left", "right"),
yAxisPosition = c("left", "right", "top", "bottom"),
yAxisMinValue = NULL,
yAxisMaxValue = NULL,
AxisNameBorderColor = NULL,
AxisNameBorderAlpha = "0",
AxisNameBorderPadding = "6",
AxisNameBorderRadius = "3",
AxisNameBorderThickness = "2",
AxisNameBorderDashed = FALSE,
AxisNameBorderDashLen = "4",
AxisNameBorderDashGap = "2",
AxisNameBgColor = NULL,
AxisNameBgAlpha = "0",
AxisNameFontAlpha = "100",
AxisValueFont = "Arial",
AxisValueFontSize = "1px",
AxisValueFontColor = NULL,
AxisValueFontBold = FALSE,
AxisValueFontItalic = FALSE,
AxisValueAlpha = "100",
AxisValueBgColor = NULL,
AxisValueBgAlpha = "50",
AxisValueBorderColor = "#ffffff",
AxisValueBorderAlpha = "0",
AxisValueBorderPadding = "5",
AxisValueBorderRadius = "2",
AxisValueBorderThickness = "3",
AxisValueBorderDashed = FALSE,
AxisValueBorderDashLen = "2",
AxisValueBorderDashGap = "2"
)
fusionPlot object got by fusionPlot()
Display the data labels
change the position of the x-axis
change the position of the y-axis
Set the lower limit of the x-axis
Set the upper limit of the y-axis
Set the border color of the name of the axis
Set the transparency of the border around the name of axis
Set the padding of the border around the name of the axis
Set the radius of the border around the name of the axis
Set the thickness of the border around the name of the axis
Make the border around the name of the axis dashed
Set the length of each dash in the dashed border around the name of the axis
Set the gap between two consecutive dashes in the dashed border around the name of the axis
Set the background color of the name of the axis
Set the transparency of the background of the name of the axis
Set the transparency of the name of the axis
Set the font of the axis values
Set the font size (between 0 to 72) of the axis values
Set the font color of the axis
Set the font of the axis values to bold
Set the font for the axis values to italics
Set the degree of transparency of the axis values
Set the background color of the axis values
Set the background color transparency of the axis values
Set the border color of the axis values
Set the transparency of the border of the axis values
Set the padding of the axis values border
Set the border radius of the axis values
Set the border thickness of the axis values
Make the axis values border dashed
Set the length of each dash for the dashed borders around axis values
Set the gap between two consecutive dashes for the dashed borders around the axis values
library(fusionchartsR)
df <- data.frame(label = c("Venezuela", "Saudi", "Canada", "Russia"), value = c(290, 260, 180, 115))
df %>%
fusionPlot(x = "label", y = "value", type = "column3d") %>%
fusionAxis(xAxisName = "Countries", yAxisName = "Numbers", AxisNameFontSize = "20") %>%
fusionCustomAxis(xAxisPosition = "top", yAxisPosition = "right") %>%
fusionTheme(theme = "gammel")
Run the code above in your browser using DataLab