Class EChartsRadarSeries

java.lang.Object
com.oorian.echarts.options.EChartsSeries
com.oorian.echarts.options.EChartsRadarSeries
All Implemented Interfaces:
com.oorian.json.Jsonable

public class EChartsRadarSeries extends EChartsSeries
Represents a radar series configuration for ECharts radar charts. Extends EChartsSeries to provide radar-specific options such as symbols, line styles, area styles, and data formatting.
Author:
Oorian
  • Constructor Details

    • EChartsRadarSeries

      public EChartsRadarSeries()
      Constructs a new EChartsRadarSeries with type set to "radar".
  • Method Details

    • addData

      public void addData(String name, Number... values)
      Adds radar data as an array of values.
      Parameters:
      name - the name for this data series
      values - array of values corresponding to radar indicators
    • setRadarIndex

      public void setRadarIndex(Integer radarIndex)
      Sets the index of the radar component to use for this series.
      Parameters:
      radarIndex - the radar component index
    • setSymbol

      public void setSymbol(String symbol)
      Sets the symbol type for data points.
      Parameters:
      symbol - the symbol type (circle, rect, triangle, etc.)
    • setSymbolSize

      public void setSymbolSize(Number symbolSize)
      Sets the size of the data point symbols.
      Parameters:
      symbolSize - the symbol size
    • setSymbolRotate

      public void setSymbolRotate(Number symbolRotate)
      Sets the rotation angle of symbols.
      Parameters:
      symbolRotate - the rotation angle in degrees
    • setSymbolKeepAspect

      public void setSymbolKeepAspect(Boolean symbolKeepAspect)
      Sets whether to keep the aspect ratio of symbols.
      Parameters:
      symbolKeepAspect - true to keep aspect ratio
    • setSymbolOffset

      public void setSymbolOffset(Number x, Number y)
      Sets the offset of symbols from their default position.
      Parameters:
      x - the x offset
      y - the y offset
    • setItemStyle

      public void setItemStyle(EChartsItemStyle itemStyle)
      Sets the item style configuration for data points.
      Parameters:
      itemStyle - the item style configuration
    • setLineStyle

      public void setLineStyle(EChartsLineStyle lineStyle)
      Sets the line style configuration.
      Parameters:
      lineStyle - the line style configuration
    • setAreaStyle

      public void setAreaStyle(EChartsAreaStyle areaStyle)
      Sets the area style configuration for filled areas.
      Parameters:
      areaStyle - the area style configuration
    • setEmphasis

      public void setEmphasis(EChartsEmphasis emphasis)
      Sets the emphasis configuration for highlighted elements.
      Parameters:
      emphasis - the emphasis configuration
    • setLabel

      public void setLabel(EChartsLabel label)
      Sets the label configuration for data labels.
      Parameters:
      label - the label configuration
    • getRadarIndex

      public Integer getRadarIndex()
      Gets the radar component index.
      Returns:
      the radar component index
    • getSymbol

      public String getSymbol()
      Gets the symbol type.
      Returns:
      the symbol type
    • getSymbolSize

      public Number getSymbolSize()
      Gets the symbol size.
      Returns:
      the symbol size
    • getSymbolRotate

      public Number getSymbolRotate()
      Gets the symbol rotation angle.
      Returns:
      the rotation angle in degrees
    • getSymbolKeepAspect

      public Boolean getSymbolKeepAspect()
      Gets the symbol keep aspect ratio setting.
      Returns:
      true if aspect ratio is preserved
    • getSymbolOffset

      public com.oorian.json.JsonArray getSymbolOffset()
      Gets the symbol offset.
      Returns:
      the symbol offset array
    • getItemStyle

      public EChartsItemStyle getItemStyle()
      Gets the item style configuration.
      Returns:
      the item style configuration
    • getLineStyle

      public EChartsLineStyle getLineStyle()
      Gets the line style configuration.
      Returns:
      the line style configuration
    • getAreaStyle

      public EChartsAreaStyle getAreaStyle()
      Gets the area style configuration.
      Returns:
      the area style configuration
    • getEmphasis

      public EChartsEmphasis getEmphasis()
      Gets the emphasis configuration.
      Returns:
      the emphasis configuration
    • getLabel

      public EChartsLabel getLabel()
      Gets the label configuration.
      Returns:
      the label configuration
    • initSpecificFromJson

      protected void initSpecificFromJson(com.oorian.json.JsonObject obj)
      Description copied from class: EChartsSeries
      Initializes series-specific properties from a JSON object.

      Subclasses must implement this method to handle their specific properties.

      Specified by:
      initSpecificFromJson in class EChartsSeries
      Parameters:
      obj - the JSON object containing series properties
    • addSpecificToJson

      protected void addSpecificToJson(com.oorian.json.JsonObject obj)
      Description copied from class: EChartsSeries
      Adds series-specific properties to a JSON object.

      Subclasses must implement this method to serialize their specific properties.

      Specified by:
      addSpecificToJson in class EChartsSeries
      Parameters:
      obj - the JSON object to add properties to