Class BoxPlotItem
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AbstractSeriesItem
com.vaadin.flow.component.charts.model.DataSeriesItem
com.vaadin.flow.component.charts.model.BoxPlotItem
- All Implemented Interfaces:
Serializable
A DataSeriesItem implementation suitable for
box plot charts. Plot box
charts visualize well some statistical data.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty data item suitable for box plot chartConstructs an item for box plot with given values. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLowerQuartile(Number lowerQuartile) Sets the lower quartile of the item.voidSets the median of the item.voidsetUpperQuartile(Number upperQuartile) Sets the upper quartile of the item.Methods inherited from class com.vaadin.flow.component.charts.model.DataSeriesItem
getCursor, getDataLabels, getDescription, getDial, getHigh, getLow, isCustomized, isSelected, makeCustomized, setColor, setCursor, setDataLabels, setDescription, setDial, setHigh, setId, setLegendIndex, setLow, setMarker, setName, setSelected, setSlicedMethods inherited from class com.vaadin.flow.component.charts.model.AbstractSeriesItem
getClassName, getColor, getColorIndex, getId, getLegendIndex, getMarker, getName, getSliced, getX, getY, setClassName, setColorIndex, setX, setX, setY
-
Constructor Details
-
BoxPlotItem
public BoxPlotItem()Constructs an empty data item suitable for box plot chart -
BoxPlotItem
Constructs an item for box plot with given values.- Parameters:
low-q1- lower quartilemedian-q3- upper quartilehigh-
-
-
Method Details
-
getLowerQuartile
- Returns:
- See Also:
-
setLowerQuartile
Sets the lower quartile of the item. Often also referred as q1 value.- Parameters:
lowerQuartile- the lower quartile
-
getUpperQuartile
- See Also:
-
setUpperQuartile
Sets the upper quartile of the item. Often also referred as q3 value.- Parameters:
upperQuartile- the upper quartile
-
getMedian
- See Also:
-
setMedian
Sets the median of the item. Often referred as q2 value.- Parameters:
median-
-