View source: R/fusionCustomBoxplot.R
fusionCustomBoxplot | R Documentation |
Customing "boxandwhisker2d" chart
fusionCustomBoxplot(
fusionPlot,
showmean = TRUE,
drawmeanconnector = FALSE,
lowerboxcolor = "#29C3BE",
upperboxcolor = "#5D62B5",
mediancolor = "#FFFFFF",
meaniconshape = "polygon",
meaniconsides = "2",
meaniconradius = "2",
showalloutliers = TRUE,
outliericonsides = "20",
outliericonalpha = "40",
outliericonshape = "triangle",
outliericonsradius = "4"
)
fusionPlot |
fusionPlot object got by |
showmean |
Show means |
drawmeanconnector |
Connect all means |
lowerboxcolor |
Set the color of the lower box |
upperboxcolor |
Set the color of the upper box |
mediancolor |
Set the color of the median line |
meaniconshape |
Set the shape of the mean icon |
meaniconsides |
Set the sides of the mean icon |
meaniconradius |
Set the radius of the mean icon |
showalloutliers |
Show outliers |
outliericonsides |
Set the sides of the outliers |
outliericonalpha |
Set the background color transparency of the outliers |
outliericonshape |
Set the shape of the outliers |
outliericonsradius |
Set the radius of the outliers |
library(fusionchartsR)
mtcars %>%
fusionPlot(x = "cyl", y = "mpg", type = "boxandwhisker2d") %>%
fusionCustomBoxplot(drawmeanconnector = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.