Class EChartsShadowStyle

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

public class EChartsShadowStyle extends Object implements com.oorian.json.Jsonable
Represents the shadow style configuration for ECharts tooltip axis pointer. Shadow style defines the appearance of shadow-type axis pointers.
Author:
Oorian
  • Constructor Details

    • EChartsShadowStyle

      public EChartsShadowStyle()
      Default constructor.
  • Method Details

    • setColor

      public void setColor(String color)
      Sets the color of the shadow style.
      Parameters:
      color - the color value
    • setOpacity

      public void setOpacity(Number opacity)
      Sets the opacity of the shadow style.
      Parameters:
      opacity - the opacity value (0 to 1)
    • getColor

      public String getColor()
      Gets the color of the shadow style.
      Returns:
      the color value
    • getOpacity

      public Number getOpacity()
      Gets the opacity of the shadow style.
      Returns:
      the opacity value
    • 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