Class Arc
java.lang.Object
software.xdev.chartjs.model.options.elements.Arc
Arcs are used in the polar area, doughnut and pie charts.
When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetBackgroundColor
(Object backgroundColor) Default fill color for arcs.setBorderColor
(Object borderColor) Default stroke color for arcssetBorderWidth
(Integer borderWidth) Default stroke width for arcs
-
Field Details
-
backgroundColor
-
borderColor
-
borderWidth
-
-
Constructor Details
-
Arc
public Arc()
-
-
Method Details
-
getBackgroundColor
- See Also:
-
setBackgroundColor
Default fill color for arcs. Inherited from the global default
Default
'rgba(0,0,0,0.1)'
-
getBorderColor
- See Also:
-
setBorderColor
Default stroke color for arcs
Default
'#fff'
-
getBorderWidth
- See Also:
-
setBorderWidth
Default stroke width for arcs
Default
2
-