Package com.oorian.echarts.options
Class EChartsRadar.Indicator
java.lang.Object
com.oorian.echarts.options.EChartsRadar.Indicator
- All Implemented Interfaces:
com.oorian.json.Jsonable
- Enclosing class:
EChartsRadar
Represents a radar indicator that defines an axis on the radar chart.
Each indicator has a name and optional min/max values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the indicator color.getMax()Gets the maximum value.getMin()Gets the minimum value.getName()Gets the indicator name.voidinitFromJson(com.oorian.json.JsonValue json) voidSets the indicator color.voidSets the maximum value.voidSets the minimum value.voidSets the indicator name.com.oorian.json.JsonValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oorian.json.Jsonable
initFromJson, initFromJson
-
Constructor Details
-
Indicator
public Indicator()Constructs an empty Indicator instance. -
Indicator
Constructs an Indicator with name and maximum value.- Parameters:
name- the indicator namemax- the maximum value
-
Indicator
Constructs an Indicator with name, minimum, and maximum values.- Parameters:
name- the indicator namemin- the minimum valuemax- the maximum value
-
-
Method Details
-
setName
Sets the indicator name.- Parameters:
name- the name
-
setMax
Sets the maximum value.- Parameters:
max- the maximum value
-
setMin
Sets the minimum value.- Parameters:
min- the minimum value
-
setColor
Sets the indicator color.- Parameters:
color- the color
-
getName
Gets the indicator name.- Returns:
- the name
-
getMax
Gets the maximum value.- Returns:
- the maximum value
-
getMin
Gets the minimum value.- Returns:
- the minimum value
-
getColor
Gets the indicator color.- Returns:
- the color
-
initFromJson
public void initFromJson(com.oorian.json.JsonValue json) - Specified by:
initFromJsonin interfacecom.oorian.json.Jsonable
-
toJsonValue
public com.oorian.json.JsonValue toJsonValue()- Specified by:
toJsonValuein interfacecom.oorian.json.Jsonable
-
toJsonString
- Specified by:
toJsonStringin interfacecom.oorian.json.Jsonable
-