Class EChartsLevels.Level

java.lang.Object
com.oorian.echarts.options.EChartsLevels.Level
All Implemented Interfaces:
com.oorian.json.Jsonable
Enclosing class:
EChartsLevels

public static class EChartsLevels.Level extends Object implements com.oorian.json.Jsonable
Represents a single level configuration within the levels hierarchy.
Author:
Oorian
  • Constructor Details

    • Level

      public Level()
      Default constructor.
  • Method Details

    • setItemStyle

      public void setItemStyle(EChartsItemStyle itemStyle)
      Sets the item style configuration for this level.
      Parameters:
      itemStyle - the item style configuration
    • setLabel

      public void setLabel(EChartsLabel label)
      Sets the label configuration for this level.
      Parameters:
      label - the label configuration
    • setEmphasis

      public void setEmphasis(EChartsEmphasis emphasis)
      Sets the emphasis configuration for this level.
      Parameters:
      emphasis - the emphasis configuration
    • getItemStyle

      public EChartsItemStyle getItemStyle()
      Gets the item style configuration for this level.
      Returns:
      the item style configuration
    • getLabel

      public EChartsLabel getLabel()
      Gets the label configuration for this level.
      Returns:
      the label configuration
    • getEmphasis

      public EChartsEmphasis getEmphasis()
      Gets the emphasis configuration for this level.
      Returns:
      the emphasis 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