com.vaadin.flow.component.charts.model.
Class TargetOptions
All Implemented Interfaces:
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 a
borderColor
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 a
borderColor
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%
-