Class RadarChartDataSet

java.lang.Object
org.primefaces.model.charts.ChartDataSet
org.primefaces.model.charts.radar.RadarChartDataSet
All Implemented Interfaces:
Serializable

public class RadarChartDataSet extends ChartDataSet
Used to provide DataSet objects to Radar chart component.
See Also:
  • Constructor Details

    • RadarChartDataSet

      public RadarChartDataSet()
  • Method Details

    • getData

      public List<Number> getData()
      Gets the list of data in this dataSet
      Returns:
      data List<Number> list of data
    • setData

      public void setData(List<Number> data)
      Sets the list of data in this dataSet
      Parameters:
      data - List<Number> list of data
    • getLabel

      public String getLabel()
      Gets the label
      Returns:
      label
    • setLabel

      public void setLabel(String label)
      Sets the label
      Parameters:
      label - The label for the dataset which appears in the legend and tooltips
    • getBackgroundColor

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

      public void setBackgroundColor(String backgroundColor)
      Sets the backgroundColor
      Parameters:
      backgroundColor - The fill color under the line
    • getBorderColor

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

      public void setBorderColor(String borderColor)
      Sets the borderColor
      Parameters:
      borderColor - The color of the line
    • getBorderWidth

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

      public void setBorderWidth(Number borderWidth)
      Sets the borderWidth
      Parameters:
      borderWidth - The width of the line in pixels
    • getBorderDash

      public List<Number> getBorderDash()
      Gets the borderDash
      Returns:
      borderDash
    • setBorderDash

      public void setBorderDash(List<Number> borderDash)
      Sets the borderDash
      Parameters:
      borderDash - Length and spacing of dashes
    • getBorderDashOffset

      public Number getBorderDashOffset()
      Gets the borderDashOffset
      Returns:
      borderDashOffset
    • setBorderDashOffset

      public void setBorderDashOffset(Number borderDashOffset)
      Sets the borderDashOffset
      Parameters:
      borderDashOffset - Offset for line dashes
    • getBorderCapStyle

      public String getBorderCapStyle()
      Gets the borderCapStyle
      Returns:
      borderCapStyle
    • setBorderCapStyle

      public void setBorderCapStyle(String borderCapStyle)
      Sets the borderCapStyle
      Parameters:
      borderCapStyle - Cap style of the line
    • getBorderJoinStyle

      public String getBorderJoinStyle()
      Gets the borderJoinStyle
      Returns:
      borderJoinStyle
    • setBorderJoinStyle

      public void setBorderJoinStyle(String borderJoinStyle)
      Sets the borderJoinStyle
      Parameters:
      borderJoinStyle - Line joint style
    • getFill

      public Object getFill()
      Gets the fill
      Returns:
      fill
    • setFill

      public void setFill(Object fill)
      Sets the fill
      Parameters:
      fill - How to fill the area under the line
    • getTension

      public Number getTension()
      Gets the Bézier curve tension (0 for no Bézier curves)
      Returns:
      tension
    • setTension

      public void setTension(Number tension)
      Sets the tension
      Parameters:
      tension - Bézier curve tension (0 for no Bézier curves)
    • getPointBackgroundColor

      public Object getPointBackgroundColor()
      Gets the pointBackgroundColor
      Returns:
      pointBackgroundColor
    • setPointBackgroundColor

      public void setPointBackgroundColor(Object pointBackgroundColor)
      Sets the pointBackgroundColor
      Parameters:
      pointBackgroundColor - The fill color for points.
    • getPointBorderColor

      public Object getPointBorderColor()
      Gets the pointBorderColor
      Returns:
      pointBorderColor
    • setPointBorderColor

      public void setPointBorderColor(Object pointBorderColor)
      Sets the pointBorderColor
      Parameters:
      pointBorderColor - The border color for points.
    • getPointBorderWidth

      public Object getPointBorderWidth()
      Gets the pointBorderWidth
      Returns:
      pointBorderWidth
    • setPointBorderWidth

      public void setPointBorderWidth(Object pointBorderWidth)
      Sets the pointBorderWidth
      Parameters:
      pointBorderWidth - The width of the point border in pixels.
    • getPointRadius

      public Object getPointRadius()
      Gets the pointRadius
      Returns:
      pointRadius
    • setPointRadius

      public void setPointRadius(Object pointRadius)
      Sets the pointRadius
      Parameters:
      pointRadius - The radius of the point shape. If set to 0, the point is not rendered.
    • getPointStyle

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

      public void setPointStyle(Object pointStyle)
      Sets the pointStyle
      Parameters:
      pointStyle - Style of the point
    • getPointHitRadius

      public Object getPointHitRadius()
      Gets the pointHitRadius
      Returns:
      pointHitRadius
    • setPointHitRadius

      public void setPointHitRadius(Object pointHitRadius)
      Sets the pointHitRadius
      Parameters:
      pointHitRadius - The pixel size of the non-displayed point that reacts to mouse events.
    • getPointHoverBackgroundColor

      public Object getPointHoverBackgroundColor()
      Gets the pointHoverBackgroundColor
      Returns:
      pointHoverBackgroundColor
    • setPointHoverBackgroundColor

      public void setPointHoverBackgroundColor(Object pointHoverBackgroundColor)
      Sets the pointHoverBackgroundColor
      Parameters:
      pointHoverBackgroundColor - Point background color when hovered.
    • getPointHoverBorderColor

      public Object getPointHoverBorderColor()
      Gets the pointHoverBorderColor
      Returns:
      pointHoverBorderColor
    • setPointHoverBorderColor

      public void setPointHoverBorderColor(Object pointHoverBorderColor)
      Sets the pointHoverBorderColor
      Parameters:
      pointHoverBorderColor - Point border color when hovered.
    • getPointHoverBorderWidth

      public Object getPointHoverBorderWidth()
      Gets the pointHoverBorderWidth
      Returns:
      pointHoverBorderWidth
    • setPointHoverBorderWidth

      public void setPointHoverBorderWidth(Object pointHoverBorderWidth)
      Sets the pointHoverBorderWidth
      Parameters:
      pointHoverBorderWidth - Border width of point when hovered.
    • getPointHoverRadius

      public Object getPointHoverRadius()
      Gets the pointHoverRadius
      Returns:
      pointHoverRadius
    • setPointHoverRadius

      public void setPointHoverRadius(Object pointHoverRadius)
      Sets the pointHoverRadius
      Parameters:
      pointHoverRadius - The radius of the point when hovered.
    • encode

      public String encode() throws IOException
      Write the options of this dataSet
      Overrides:
      encode in class ChartDataSet
      Returns:
      options as JSON object
      Throws:
      IOException - If an I/O error occurs