com.vaadin.flow.component.charts.model.
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:
public class DataSeriesItemBullet extends DataSeriesItem
DataSeriesItem that can hold also target and targetOptions. Used in e.g. bullet series.
See Also:
-
-
Constructor Summary
Constructors Constructor Description DataSeriesItemBullet()
Constructs an empty item
DataSeriesItemBullet(Number y, Number target)
Constructs an item with Y and Target
DataSeriesItemBullet(Number x, Number y, Number target)
Constructs an item with X, Y and Target
DataSeriesItemBullet(Instant x, Number y, Number target)
Constructs an item with X, Y and Target
-
Method Summary
All Methods Modifier and Type Method Description Number
getTarget()
Returns the target value of the item.
TargetOptions
getTargetOptions()
void
setPartialFill(TargetOptions targetOptions)
Individual target options for each point.
void
setTarget(Number target)
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 Detail
-
DataSeriesItemBullet
public DataSeriesItemBullet()
Constructs an empty item
-
DataSeriesItemBullet
public DataSeriesItemBullet(Number y, Number target)
Constructs an item with Y and Target
Parameters:
y
-target
-
-
DataSeriesItemBullet
public DataSeriesItemBullet(Number x, Number y, Number target)
Constructs an item with X, Y and Target
Parameters:
x
-y
-target
-
-
-
Method Detail
-
getTarget
public Number getTarget()
Returns the target value of the item.
Returns:
The target value of this data item.
See Also:
-
setTarget
public void setTarget(Number target)
The target value of the item.
Parameters:
target
- target value of the item.
-
getTargetOptions
public TargetOptions getTargetOptions()
See Also:
#setPartialFill(ItemPartialFill)
-
setPartialFill
public void setPartialFill(TargetOptions targetOptions)
Individual target options for each point.
-
-