Class RadialLinearPointLabels
- java.lang.Object
-
- org.primefaces.model.charts.axes.radial.linear.RadialLinearPointLabels
-
- All Implemented Interfaces:
Serializable
public class RadialLinearPointLabels extends Object implements Serializable
Used to configure the point labels that are shown on the perimeter of the scale.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RadialLinearPointLabels()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringencode()Write the options of point labels on radial linear typeObjectgetFontColor()Gets the fontColorStringgetFontFamily()Gets the fontFamilyNumbergetFontSize()Gets the fontSizeStringgetFontStyle()Gets the fontStylevoidsetFontColor(Object fontColor)Sets the fontColorvoidsetFontFamily(String fontFamily)Sets the fontFamilyvoidsetFontSize(Number fontSize)Sets the fontSizevoidsetFontStyle(String fontStyle)Sets the fontStyle
-
-
-
Method Detail
-
getFontColor
public Object getFontColor()
Gets the fontColor- Returns:
- fontColor
-
setFontColor
public void setFontColor(Object fontColor)
Sets the fontColor- Parameters:
fontColor- Font color for point labels.
-
getFontFamily
public String getFontFamily()
Gets the fontFamily- Returns:
- fontFamily
-
setFontFamily
public void setFontFamily(String fontFamily)
Sets the fontFamily- Parameters:
fontFamily- Font family to use when rendering labels.
-
getFontSize
public Number getFontSize()
Gets the fontSize- Returns:
- fontSize
-
setFontSize
public void setFontSize(Number fontSize)
Sets the fontSize- Parameters:
fontSize- font size in pixels
-
getFontStyle
public String getFontStyle()
Gets the fontStyle- Returns:
- fontStyle
-
setFontStyle
public void setFontStyle(String fontStyle)
Sets the fontStyle- Parameters:
fontStyle- Font style to use when rendering point labels.
-
encode
public String encode() throws IOException
Write the options of point labels on radial linear type- Returns:
- options as JSON object
- Throws:
IOException- If an I/O error occurs
-
-