Class DataSeriesItemBullet
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.DataSeriesItemBullet
- All Implemented Interfaces:
Serializable
DataSeriesItem that can hold also target and targetOptions. Used in e.g.
bullet series.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty itemDataSeriesItemBullet
(Number y, Number target) Constructs an item with Y and TargetDataSeriesItemBullet
(Number x, Number y, Number target) Constructs an item with X, Y and TargetDataSeriesItemBullet
(Instant x, Number y, Number target) Constructs an item with X, Y and Target -
Method Summary
Modifier and TypeMethodDescriptionReturns the target value of the item.void
setPartialFill
(TargetOptions targetOptions) Individual target options for each point.void
The target value 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
-
Constructor Details
-
DataSeriesItemBullet
public DataSeriesItemBullet()Constructs an empty item -
DataSeriesItemBullet
Constructs an item with Y and Target- Parameters:
y
-target
-
-
DataSeriesItemBullet
Constructs an item with X, Y and Target- Parameters:
x
-y
-target
-
-
DataSeriesItemBullet
Constructs an item with X, Y and Target- Parameters:
x
-y
-target
-
-
-
Method Details
-
getTarget
Returns the target value of the item.- Returns:
- The target value of this data item.
- See Also:
-
setTarget
The target value of the item.- Parameters:
target
- target value of the item.
-
getTargetOptions
- See Also:
-
#setPartialFill(ItemPartialFill)
-
setPartialFill
Individual target options for each point.
-