Class AnnotationItem
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AnnotationItem
- All Implemented Interfaces:
Serializable
Container for labels on the chart
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLabel
(AnnotationItemLabel label) Adds a single labelvoid
addLabels
(AnnotationItemLabel... labels) Adds multiple labelsvoid
Clears all labelsvoid
setLabels
(AnnotationItemLabel... labels) Sets labels that can be positioned anywhere in the chart area.
-
Constructor Details
-
AnnotationItem
public AnnotationItem()
-
-
Method Details
-
getLabels
- Returns:
- Labels
- See Also:
-
setLabels
Sets labels that can be positioned anywhere in the chart area.- Parameters:
labels
-
-
addLabels
Adds multiple labels- Parameters:
labels
-- See Also:
-
addLabel
Adds a single label- Parameters:
label
-- See Also:
-
clearLabels
public void clearLabels()Clears all labels- See Also:
-