Class EChartsHeatmapSeries

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

public class EChartsHeatmapSeries extends EChartsSeries
Represents a heatmap series configuration for ECharts heatmap charts. Extends EChartsSeries to provide heatmap-specific options for displaying matrix data with color intensity.

Heatmap charts are useful for displaying:

  • Correlation matrices
  • Time-based activity patterns
  • Geographic density data
  • Any matrix data with intensity values
Author:
Oorian
  • Constructor Details

    • EChartsHeatmapSeries

      public EChartsHeatmapSeries()
      Constructs a new EChartsHeatmapSeries with type set to "heatmap".
  • Method Details

    • addData

      public void addData(Object x, Object y, Number value)
      Adds a heatmap data point with x, y coordinates and value.
      Parameters:
      x - the x coordinate (column index or category)
      y - the y coordinate (row index or category)
      value - the intensity value
    • setXAxisIndex

      public void setXAxisIndex(Integer xAxisIndex)
      Sets the x-axis index for this series.
      Parameters:
      xAxisIndex - the x-axis index
    • setYAxisIndex

      public void setYAxisIndex(Integer yAxisIndex)
      Sets the y-axis index for this series.
      Parameters:
      yAxisIndex - the y-axis index
    • setGeoIndex

      public void setGeoIndex(Integer geoIndex)
      Sets the geo index for this series.
      Parameters:
      geoIndex - the geo index
    • setCalendarIndex

      public void setCalendarIndex(Integer calendarIndex)
      Sets the calendar index for this series.
      Parameters:
      calendarIndex - the calendar index
    • setCoordinateSystem

      public void setCoordinateSystem(String coordinateSystem)
      Sets the coordinate system for this series.
      Parameters:
      coordinateSystem - the coordinate system ('cartesian2d', 'geo', or 'calendar')
    • setPointSize

      public void setPointSize(Number pointSize)
      Sets the point size for blur rendering.
      Parameters:
      pointSize - the point size
    • setBlurSize

      public void setBlurSize(Number blurSize)
      Sets the blur size for blur rendering.
      Parameters:
      blurSize - the blur size
    • setMinOpacity

      public void setMinOpacity(Number minOpacity)
      Sets the minimum opacity for blur rendering.
      Parameters:
      minOpacity - the minimum opacity (0-1)
    • setMaxOpacity

      public void setMaxOpacity(Number maxOpacity)
      Sets the maximum opacity for blur rendering.
      Parameters:
      maxOpacity - the maximum opacity (0-1)
    • setItemStyle

      public void setItemStyle(EChartsItemStyle itemStyle)
      Sets the item style configuration.
      Parameters:
      itemStyle - the item style configuration
    • setEmphasis

      public void setEmphasis(EChartsEmphasis emphasis)
      Sets the emphasis configuration for highlighted elements.
      Parameters:
      emphasis - the emphasis configuration
    • setLabel

      public void setLabel(EChartsLabel label)
      Sets the label configuration.
      Parameters:
      label - the label configuration
    • getXAxisIndex

      public Integer getXAxisIndex()
      Gets the x-axis index.
      Returns:
      the x-axis index
    • getYAxisIndex

      public Integer getYAxisIndex()
      Gets the y-axis index.
      Returns:
      the y-axis index
    • getGeoIndex

      public Integer getGeoIndex()
      Gets the geo index.
      Returns:
      the geo index
    • getCalendarIndex

      public Integer getCalendarIndex()
      Gets the calendar index.
      Returns:
      the calendar index
    • getCoordinateSystem

      public String getCoordinateSystem()
      Gets the coordinate system.
      Returns:
      the coordinate system
    • getPointSize

      public Number getPointSize()
      Gets the point size.
      Returns:
      the point size
    • getBlurSize

      public Number getBlurSize()
      Gets the blur size.
      Returns:
      the blur size
    • getMinOpacity

      public Number getMinOpacity()
      Gets the minimum opacity.
      Returns:
      the minimum opacity
    • getMaxOpacity

      public Number getMaxOpacity()
      Gets the maximum opacity.
      Returns:
      the maximum opacity
    • getItemStyle

      public EChartsItemStyle getItemStyle()
      Gets the item style configuration.
      Returns:
      the item style configuration
    • getEmphasis

      public EChartsEmphasis getEmphasis()
      Gets the emphasis configuration.
      Returns:
      the emphasis configuration
    • getLabel

      public EChartsLabel getLabel()
      Gets the label configuration.
      Returns:
      the label configuration
    • initSpecificFromJson

      protected void initSpecificFromJson(com.oorian.json.JsonObject obj)
      Description copied from class: EChartsSeries
      Initializes series-specific properties from a JSON object.

      Subclasses must implement this method to handle their specific properties.

      Specified by:
      initSpecificFromJson in class EChartsSeries
      Parameters:
      obj - the JSON object containing series properties
    • addSpecificToJson

      protected void addSpecificToJson(com.oorian.json.JsonObject obj)
      Description copied from class: EChartsSeries
      Adds series-specific properties to a JSON object.

      Subclasses must implement this method to serialize their specific properties.

      Specified by:
      addSpecificToJson in class EChartsSeries
      Parameters:
      obj - the JSON object to add properties to