Class RangeSeries
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AbstractSeries
com.vaadin.flow.component.charts.model.DataSeries
com.vaadin.flow.component.charts.model.RangeSeries
- All Implemented Interfaces:
Series
,Serializable
Series for range type data
- See Also:
-
Constructor Summary
ConstructorDescriptionRangeSeries
(Number[]... values) Constructs a RangeSeries with the given valuesRangeSeries
(String name) Constructs a RangeSeries with the given nameRangeSeries
(String name, Number[]... values) Constructs a RangeSeries with the given name and values -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRangeData
(Number[]... data) Sets the numeric data for this series.Methods inherited from class com.vaadin.flow.component.charts.model.DataSeries
add, add, addData, addItemWithDrilldown, addItemWithDrilldown, clear, get, get, getData, remove, setData, setData, setData, setData, setItemSliced, setItemSliced, setItemSliced, size, update
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
-
RangeSeries
public RangeSeries() -
RangeSeries
Constructs a RangeSeries with the given name- Parameters:
name
-
-
RangeSeries
Constructs a RangeSeries with the given values- Parameters:
values
- low-high pairs, or x-low-high triplets
-
RangeSeries
Constructs a RangeSeries with the given name and values- Parameters:
name
- the name of the seriesvalues
- low-high pairs, or x-low-high triplets
-
-
Method Details
-
setRangeData
Sets the numeric data for this series.- Parameters:
values
- low-high pairs, or x-low-high triplets
-