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:
  • Constructor Details

    • RadialLinearPointLabels

      public RadialLinearPointLabels()
  • Method Details

    • getFontColor

      public String getFontColor()
      Gets the fontColor
      Returns:
      fontColor
    • setFontColor

      public void setFontColor(String 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.
    • getFont

      public ChartFont getFont()
    • setFont

      public void setFont(ChartFont font)
    • 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