com.vaadin.flow.component.charts.model.
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:
public class BoxPlotItem extends DataSeriesItem
A DataSeriesItem implementation suitable for box plot charts. Plot box charts visualize well some statistical data.
See Also:
PlotOptionsBoxPlot
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BoxPlotItem()
Constructs an empty data item suitable for box plot chart
BoxPlotItem(Number low, Number q1, Number median, Number q3, Number high)
Constructs an item for box plot with given values.
-
Method Summary
All Methods Modifier and Type Method Description Number
getLowerQuartile()
Number
getMedian()
Number
getUpperQuartile()
void
setLowerQuartile(Number lowerQuartile)
Sets the lower quartile of the item.
void
setMedian(Number median)
Sets the median of the item.
void
setUpperQuartile(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, setSliced
-
Methods inherited from class com.vaadin.flow.component.charts.model.AbstractSeriesItem
getClassName, getColor, getColorIndex, getId, getLegendIndex, getMarker, getName, getSliced, getX, getY, setClassName, setColorIndex, setX, setX, setX, setY
-
-
-
-
Method Detail
-
getLowerQuartile
public Number getLowerQuartile()
Returns:
See Also:
-
setLowerQuartile
public void setLowerQuartile(Number lowerQuartile)
Sets the lower quartile of the item. Often also referred as q1 value.
Parameters:
lowerQuartile
- the lower quartile
-
getUpperQuartile
public Number getUpperQuartile()
See Also:
-
setUpperQuartile
public void setUpperQuartile(Number upperQuartile)
Sets the upper quartile of the item. Often also referred as q3 value.
Parameters:
upperQuartile
- the upper quartile
-
getMedian
public Number getMedian()
See Also:
-
setMedian
public void setMedian(Number median)
Sets the median of the item. Often referred as q2 value.
Parameters:
median
-
-
-