Class EChartsSplitLine

java.lang.Object
com.oorian.echarts.options.EChartsSplitLine
All Implemented Interfaces:
com.oorian.json.Jsonable

public class EChartsSplitLine extends Object implements 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 Details

    • EChartsSplitLine

      public EChartsSplitLine()
      Default constructor.
  • Method Details

    • setShow

      public void setShow(Boolean show)
      Sets whether to show the split line.
      Parameters:
      show - true to show the split line, false to hide it
    • setInterval

      public void setInterval(Number interval)
      Sets the interval between split lines.
      Parameters:
      interval - the interval value
    • setLineStyle

      public void setLineStyle(EChartsLineStyle lineStyle)
      Sets the line style configuration for the split line.
      Parameters:
      lineStyle - the line style configuration
    • getShow

      public Boolean getShow()
      Gets whether to show the split line.
      Returns:
      true if the split line is shown, false otherwise
    • getInterval

      public Number getInterval()
      Gets the interval between split lines.
      Returns:
      the interval value
    • getLineStyle

      public EChartsLineStyle 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:
      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