Package com.oorian.echarts.options
Class EChartsHeatmapSeries
java.lang.Object
com.oorian.echarts.options.EChartsSeries
com.oorian.echarts.options.EChartsHeatmapSeries
- All Implemented Interfaces:
com.oorian.json.Jsonable
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
-
Field Summary
Fields inherited from class com.oorian.echarts.options.EChartsSeries
data, name, type -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new EChartsHeatmapSeries with type set to "heatmap". -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a heatmap data point with x, y coordinates and value.protected voidaddSpecificToJson(com.oorian.json.JsonObject obj) Adds series-specific properties to a JSON object.Gets the blur size.Gets the calendar index.Gets the coordinate system.Gets the emphasis configuration.Gets the geo index.Gets the item style configuration.getLabel()Gets the label configuration.Gets the maximum opacity.Gets the minimum opacity.Gets the point size.Gets the x-axis index.Gets the y-axis index.protected voidinitSpecificFromJson(com.oorian.json.JsonObject obj) Initializes series-specific properties from a JSON object.voidsetBlurSize(Number blurSize) Sets the blur size for blur rendering.voidsetCalendarIndex(Integer calendarIndex) Sets the calendar index for this series.voidsetCoordinateSystem(String coordinateSystem) Sets the coordinate system for this series.voidsetEmphasis(EChartsEmphasis emphasis) Sets the emphasis configuration for highlighted elements.voidsetGeoIndex(Integer geoIndex) Sets the geo index for this series.voidsetItemStyle(EChartsItemStyle itemStyle) Sets the item style configuration.voidsetLabel(EChartsLabel label) Sets the label configuration.voidsetMaxOpacity(Number maxOpacity) Sets the maximum opacity for blur rendering.voidsetMinOpacity(Number minOpacity) Sets the minimum opacity for blur rendering.voidsetPointSize(Number pointSize) Sets the point size for blur rendering.voidsetXAxisIndex(Integer xAxisIndex) Sets the x-axis index for this series.voidsetYAxisIndex(Integer yAxisIndex) Sets the y-axis index for this series.Methods inherited from class com.oorian.echarts.options.EChartsSeries
addData, getData, getName, getType, initFromJson, parseDataArray, setData, setName, setType, toJsonString, toJsonValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oorian.json.Jsonable
initFromJson, initFromJson
-
Constructor Details
-
EChartsHeatmapSeries
public EChartsHeatmapSeries()Constructs a new EChartsHeatmapSeries with type set to "heatmap".
-
-
Method Details
-
addData
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
Sets the x-axis index for this series.- Parameters:
xAxisIndex- the x-axis index
-
setYAxisIndex
Sets the y-axis index for this series.- Parameters:
yAxisIndex- the y-axis index
-
setGeoIndex
Sets the geo index for this series.- Parameters:
geoIndex- the geo index
-
setCalendarIndex
Sets the calendar index for this series.- Parameters:
calendarIndex- the calendar index
-
setCoordinateSystem
Sets the coordinate system for this series.- Parameters:
coordinateSystem- the coordinate system ('cartesian2d', 'geo', or 'calendar')
-
setPointSize
Sets the point size for blur rendering.- Parameters:
pointSize- the point size
-
setBlurSize
Sets the blur size for blur rendering.- Parameters:
blurSize- the blur size
-
setMinOpacity
Sets the minimum opacity for blur rendering.- Parameters:
minOpacity- the minimum opacity (0-1)
-
setMaxOpacity
Sets the maximum opacity for blur rendering.- Parameters:
maxOpacity- the maximum opacity (0-1)
-
setItemStyle
Sets the item style configuration.- Parameters:
itemStyle- the item style configuration
-
setEmphasis
Sets the emphasis configuration for highlighted elements.- Parameters:
emphasis- the emphasis configuration
-
setLabel
Sets the label configuration.- Parameters:
label- the label configuration
-
getXAxisIndex
Gets the x-axis index.- Returns:
- the x-axis index
-
getYAxisIndex
Gets the y-axis index.- Returns:
- the y-axis index
-
getGeoIndex
Gets the geo index.- Returns:
- the geo index
-
getCalendarIndex
Gets the calendar index.- Returns:
- the calendar index
-
getCoordinateSystem
Gets the coordinate system.- Returns:
- the coordinate system
-
getPointSize
Gets the point size.- Returns:
- the point size
-
getBlurSize
Gets the blur size.- Returns:
- the blur size
-
getMinOpacity
Gets the minimum opacity.- Returns:
- the minimum opacity
-
getMaxOpacity
Gets the maximum opacity.- Returns:
- the maximum opacity
-
getItemStyle
Gets the item style configuration.- Returns:
- the item style configuration
-
getEmphasis
Gets the emphasis configuration.- Returns:
- the emphasis configuration
-
getLabel
Gets the label configuration.- Returns:
- the label configuration
-
initSpecificFromJson
protected void initSpecificFromJson(com.oorian.json.JsonObject obj) Description copied from class:EChartsSeriesInitializes series-specific properties from a JSON object.Subclasses must implement this method to handle their specific properties.
- Specified by:
initSpecificFromJsonin classEChartsSeries- Parameters:
obj- the JSON object containing series properties
-
addSpecificToJson
protected void addSpecificToJson(com.oorian.json.JsonObject obj) Description copied from class:EChartsSeriesAdds series-specific properties to a JSON object.Subclasses must implement this method to serialize their specific properties.
- Specified by:
addSpecificToJsonin classEChartsSeries- Parameters:
obj- the JSON object to add properties to
-