Class EChartsEmphasis

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

public class EChartsEmphasis extends Object implements com.oorian.json.Jsonable
Represents the emphasis state configuration for ECharts elements. Controls the visual appearance of chart elements when they are highlighted or hovered.
Author:
Oorian
  • Constructor Details

    • EChartsEmphasis

      public EChartsEmphasis()
      Constructs a new EChartsEmphasis with default settings.
  • Method Details

    • setItemStyle

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

      public void setLabel(EChartsLabel label)
      Sets the label configuration for the emphasis state.
      Parameters:
      label - the label configuration
    • getItemStyle

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

      public EChartsLabel getLabel()
      Gets the label configuration for the emphasis state.
      Returns:
      the label configuration
    • initFromJson

      public void initFromJson(com.oorian.json.JsonValue json)
      Initializes this EChartsEmphasis from a JSON value.
      Specified by:
      initFromJson in interface com.oorian.json.Jsonable
      Parameters:
      json - the JSON value to parse
    • toJsonValue

      public com.oorian.json.JsonValue toJsonValue()
      Converts this EChartsEmphasis to a JSON value.
      Specified by:
      toJsonValue in interface com.oorian.json.Jsonable
      Returns:
      the JSON representation
    • toJsonString

      public String toJsonString()
      Converts this EChartsEmphasis to a JSON string.
      Specified by:
      toJsonString in interface com.oorian.json.Jsonable
      Returns:
      the JSON string representation