Class ElementsArc
java.lang.Object
org.primefaces.model.charts.optionconfig.elements.ElementsArc
- All Implemented Interfaces:
Serializable
Arcs are used in the polar area, doughnut and pie charts.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencode()Write the arc options of ElementsGets the backgroundColorGets the borderColorGets the borderWidthvoidsetBackgroundColor(String backgroundColor) Sets the backgroundColorvoidsetBorderColor(String borderColor) Sets the borderColorvoidsetBorderWidth(Number borderWidth) Sets the borderWidth
-
Constructor Details
-
ElementsArc
public ElementsArc()
-
-
Method Details
-
getBackgroundColor
Gets the backgroundColor- Returns:
- backgroundColor
-
setBackgroundColor
Sets the backgroundColor- Parameters:
backgroundColor- Arc fill color.
-
getBorderColor
Gets the borderColor- Returns:
- borderColor
-
setBorderColor
Sets the borderColor- Parameters:
borderColor- Arc stroke color.
-
getBorderWidth
Gets the borderWidth- Returns:
- borderWidth
-
setBorderWidth
Sets the borderWidth- Parameters:
borderWidth- Arc stroke width.
-
encode
Write the arc options of Elements- Returns:
- options as JSON object
- Throws:
IOException- If an I/O error occurs
-