java.lang.Object
org.primefaces.model.charts.optionconfig.elements.ElementsArc
All Implemented Interfaces:
Serializable

public class ElementsArc extends Object implements Serializable
Arcs are used in the polar area, doughnut and pie charts.
See Also:
  • Constructor Details

    • ElementsArc

      public ElementsArc()
  • Method Details

    • getBackgroundColor

      public String getBackgroundColor()
      Gets the backgroundColor
      Returns:
      backgroundColor
    • setBackgroundColor

      public void setBackgroundColor(String backgroundColor)
      Sets the backgroundColor
      Parameters:
      backgroundColor - Arc fill color.
    • getBorderColor

      public String getBorderColor()
      Gets the borderColor
      Returns:
      borderColor
    • setBorderColor

      public void setBorderColor(String borderColor)
      Sets the borderColor
      Parameters:
      borderColor - Arc stroke color.
    • getBorderWidth

      public Number getBorderWidth()
      Gets the borderWidth
      Returns:
      borderWidth
    • setBorderWidth

      public void setBorderWidth(Number borderWidth)
      Sets the borderWidth
      Parameters:
      borderWidth - Arc stroke width.
    • encode

      public String encode() throws IOException
      Write the arc options of Elements
      Returns:
      options as JSON object
      Throws:
      IOException - If an I/O error occurs