View source: R/clusterCharts.R
clusterchartOptions | R Documentation |
Adds options for clusterCharts
clusterchartOptions(
rmax = 30,
size = c(20, 20),
width = 40,
height = 50,
strokeWidth = 1,
innerRadius = 10,
labelBackground = FALSE,
labelFill = "white",
labelStroke = "black",
labelColor = "black",
labelOpacity = 0.9,
digits = 2,
sortTitlebyCount = TRUE
)
rmax |
The maximum radius of the clusters. |
size |
The size of the cluster markers. |
width |
The width of the bar-charts. |
height |
The height of the bar-charts. |
strokeWidth |
The stroke width of the chart. |
innerRadius |
The inner radius of pie-charts. |
labelBackground |
Should the label have a background? Default is 'FALSE' |
labelFill |
The label background color. Default is 'white' |
labelStroke |
The label stroke color. Default is 'black' |
labelColor |
The label color. Default is 'black' |
labelOpacity |
The label color. Default is '0.9' |
digits |
The amount of digits. Default is '2' |
sortTitlebyCount |
Should the svg-title be sorted by count or by the categories. |
Other clusterCharts:
addClusterCharts()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.