Class TargetOptions
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.TargetOptions
- All Implemented Interfaces:
Serializable
Set options related with look and position of targets.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
getWidth()
void
setBorderColor
(Color borderColor) Can set aborderColor
of the rectangle representing the target.void
setBorderWidth
(Number borderWidth) Can set the borderWidth of the rectangle representing the target.void
Can set a color of the rectangle representing the target.void
The height of the rectangle representing the target.void
The width of the rectangle representing the target.
-
Constructor Details
-
TargetOptions
public TargetOptions()
-
-
Method Details
-
getBorderColor
- See Also:
-
setBorderColor
Can set aborderColor
of the rectangle representing the target. When not set, the point's border color is used. -
getBorderWidth
- See Also:
-
setBorderWidth
Can set the borderWidth of the rectangle representing the target.Defaults to: 0
-
getColor
- See Also:
-
setColor
Can set a color of the rectangle representing the target. When not set, point's color (if set in point's options - color) or zone of the target value (if zones or negativeColor are set) or the same color as the point has is used. -
getHeight
- See Also:
-
setHeight
The height of the rectangle representing the target.Defaults to: 3
-
getWidth
- See Also:
-
setWidth
The width of the rectangle representing the target. Could be set as a pixel value or as a percentage of a column width.Defaults to: 140%
-