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