Class EChartsSplitArea

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

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

    • EChartsSplitArea

      public EChartsSplitArea()
      Default constructor.
  • Method Details

    • setShow

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

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

      public void setAreaStyle(EChartsAreaStyle areaStyle)
      Sets the area style configuration for the split area.
      Parameters:
      areaStyle - the area style configuration
    • getShow

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

      public Number getInterval()
      Gets the interval between split areas.
      Returns:
      the interval value
    • getAreaStyle

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