Package com.oorian.echarts.options
Class EChartsSplitArea
java.lang.Object
com.oorian.echarts.options.EChartsSplitArea
- All Implemented Interfaces:
com.oorian.json.Jsonable
Represents the split area configuration for ECharts axis components.
Split areas are the filled regions between axis split lines.
- Author:
- Oorian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the area style configuration for the split area.Gets the interval between split areas.getShow()Gets whether to show the split area.voidinitFromJson(com.oorian.json.JsonValue json) voidsetAreaStyle(EChartsAreaStyle areaStyle) Sets the area style configuration for the split area.voidsetInterval(Number interval) Sets the interval between split areas.voidSets whether to show the split area.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
-
EChartsSplitArea
public EChartsSplitArea()Default constructor.
-
-
Method Details
-
setShow
Sets whether to show the split area.- Parameters:
show- true to show the split area, false to hide it
-
setInterval
Sets the interval between split areas.- Parameters:
interval- the interval value
-
setAreaStyle
Sets the area style configuration for the split area.- Parameters:
areaStyle- the area style configuration
-
getShow
Gets whether to show the split area.- Returns:
- true if the split area is shown, false otherwise
-
getInterval
Gets the interval between split areas.- Returns:
- the interval value
-
getAreaStyle
Gets the area style configuration for the split area.- Returns:
- the area style configuration
-
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
-