Class RadialLinearPointLabels
java.lang.Object
org.primefaces.model.charts.axes.radial.linear.RadialLinearPointLabels
- All Implemented Interfaces:
Serializable
Used to configure the point labels that are shown on the perimeter of the scale.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionencode()
Write the options of point labels on radial linear typegetFont()
Gets the fontColorGets the fontFamilyGets the fontSizeGets the fontStylevoid
void
setFontColor
(String fontColor) Sets the fontColorvoid
setFontFamily
(String fontFamily) Sets the fontFamilyvoid
setFontSize
(Number fontSize) Sets the fontSizevoid
setFontStyle
(String fontStyle) Sets the fontStyle
-
Constructor Details
-
RadialLinearPointLabels
public RadialLinearPointLabels()
-
-
Method Details
-
getFontColor
Gets the fontColor- Returns:
- fontColor
-
setFontColor
Sets the fontColor- Parameters:
fontColor
- Font color for point labels.
-
getFontFamily
Gets the fontFamily- Returns:
- fontFamily
-
setFontFamily
Sets the fontFamily- Parameters:
fontFamily
- Font family to use when rendering labels.
-
getFontSize
Gets the fontSize- Returns:
- fontSize
-
setFontSize
Sets the fontSize- Parameters:
fontSize
- font size in pixels
-
getFontStyle
Gets the fontStyle- Returns:
- fontStyle
-
setFontStyle
Sets the fontStyle- Parameters:
fontStyle
- Font style to use when rendering point labels.
-
getFont
-
setFont
-
encode
Write the options of point labels on radial linear type- Returns:
- options as JSON object
- Throws:
IOException
- If an I/O error occurs
-