Class EChartsRadar.Indicator

java.lang.Object
com.oorian.echarts.options.EChartsRadar.Indicator
All Implemented Interfaces:
com.oorian.json.Jsonable
Enclosing class:
EChartsRadar

public static class EChartsRadar.Indicator extends Object implements com.oorian.json.Jsonable
Represents a radar indicator that defines an axis on the radar chart. Each indicator has a name and optional min/max values.
  • Constructor Details

    • Indicator

      public Indicator()
      Constructs an empty Indicator instance.
    • Indicator

      public Indicator(String name, Number max)
      Constructs an Indicator with name and maximum value.
      Parameters:
      name - the indicator name
      max - the maximum value
    • Indicator

      public Indicator(String name, Number min, Number max)
      Constructs an Indicator with name, minimum, and maximum values.
      Parameters:
      name - the indicator name
      min - the minimum value
      max - the maximum value
  • Method Details

    • setName

      public void setName(String name)
      Sets the indicator name.
      Parameters:
      name - the name
    • setMax

      public void setMax(Number max)
      Sets the maximum value.
      Parameters:
      max - the maximum value
    • setMin

      public void setMin(Number min)
      Sets the minimum value.
      Parameters:
      min - the minimum value
    • setColor

      public void setColor(String color)
      Sets the indicator color.
      Parameters:
      color - the color
    • getName

      public String getName()
      Gets the indicator name.
      Returns:
      the name
    • getMax

      public Number getMax()
      Gets the maximum value.
      Returns:
      the maximum value
    • getMin

      public Number getMin()
      Gets the minimum value.
      Returns:
      the minimum value
    • getColor

      public String getColor()
      Gets the indicator color.
      Returns:
      the color
    • initFromJson

      public void initFromJson(com.oorian.json.JsonValue json)
      Specified by:
      initFromJson in interface com.oorian.json.Jsonable
    • toJsonValue

      public com.oorian.json.JsonValue toJsonValue()
      Specified by:
      toJsonValue in interface com.oorian.json.Jsonable
    • toJsonString

      public String toJsonString()
      Specified by:
      toJsonString in interface com.oorian.json.Jsonable