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

public class ElementsPoint extends Object implements Serializable
Point elements are used to represent the points in a line chart or a bubble chart.
See Also:
  • Constructor Details

    • ElementsPoint

      public ElementsPoint()
  • Method Details

    • getRadius

      public Number getRadius()
      Gets the radius
      Returns:
      radius
    • setRadius

      public void setRadius(Number radius)
      Sets the radius
      Parameters:
      radius - Point radius.
    • getPointStyle

      public String getPointStyle()
      Gets the pointStyle
      Returns:
      pointStyle
    • setPointStyle

      public void setPointStyle(String pointStyle)
      Sets the pointStyle
      Parameters:
      pointStyle - Point style.
    • getBackgroundColor

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

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

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

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

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

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

      public Number getHitRadius()
      Gets the hitRadius
      Returns:
      hitRadius
    • setHitRadius

      public void setHitRadius(Number hitRadius)
      Sets the hitRadius
      Parameters:
      hitRadius - Extra radius added to point radius for hit detection.
    • getHoverRadius

      public Number getHoverRadius()
      Gets the hoverRadius
      Returns:
      hoverRadius
    • setHoverRadius

      public void setHoverRadius(Number hoverRadius)
      Sets the hoverRadius
      Parameters:
      hoverRadius - Point radius when hovered.
    • getHoverBorderWidth

      public Number getHoverBorderWidth()
      Gets the hoverBorderWidth
      Returns:
      hoverBorderWidth
    • setHoverBorderWidth

      public void setHoverBorderWidth(Number hoverBorderWidth)
      Sets the hoverBorderWidth
      Parameters:
      hoverBorderWidth - Stroke width when hovered.
    • encode

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