com.vaadin.flow.component.charts.model.
Class HeatSeries
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AbstractSeries
com.vaadin.flow.component.charts.model.HeatSeries
All Implemented Interfaces:
A specialized series for use with HeatMaps
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHeatSeries
(String name) Constructs a HeatSeries with the given name
HeatSeries
(String name, Number[]... values) Constructs a HeatSeries with the given name and values
-
Method Summary
Methods inherited from class com.vaadin.flow.component.charts.model.AbstractSeries
getColorAxis, getConfiguration, getId, getName, getPlotOptions, getStack, getxAxis, getyAxis, isVisible, setColorAxis, setConfiguration, setId, setName, setPlotOptions, setStack, setVisible, setVisible, setxAxis, setyAxis, setyAxis, updateSeries
-
Constructor Details
-
HeatSeries
public HeatSeries() -
HeatSeries
Constructs a HeatSeries with the given name
Parameters:
name
- The name of this data series. -
HeatSeries
Constructs a HeatSeries with the given name and values
Parameters:
name
- the name of the seriesvalues
- x-y-heatScore triplets
-
-
Method Details
-
setData
Sets the numeric data for this series.
Parameters:
values
- x-y-heatScore triplets -
getData
Returns:
the raw data in this series
See Also:
-
addHeatPoint
Add a single data point to the heat series
Parameters:
x
- the x coordinate of the pointy
- the y coordinate of the pointheatScore
- the heat score of the point -
clear
public void clear()
-