Package com.oorian.echarts.options
Class EChartsShadowStyle
java.lang.Object
com.oorian.echarts.options.EChartsShadowStyle
- All Implemented Interfaces:
com.oorian.json.Jsonable
Represents the shadow style configuration for ECharts tooltip axis pointer.
Shadow style defines the appearance of shadow-type axis pointers.
- Author:
- Oorian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the color of the shadow style.Gets the opacity of the shadow style.voidinitFromJson(com.oorian.json.JsonValue json) voidSets the color of the shadow style.voidsetOpacity(Number opacity) Sets the opacity of the shadow style.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
-
EChartsShadowStyle
public EChartsShadowStyle()Default constructor.
-
-
Method Details
-
setColor
Sets the color of the shadow style.- Parameters:
color- the color value
-
setOpacity
Sets the opacity of the shadow style.- Parameters:
opacity- the opacity value (0 to 1)
-
getColor
Gets the color of the shadow style.- Returns:
- the color value
-
getOpacity
Gets the opacity of the shadow style.- Returns:
- the opacity value
-
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
-