We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.charts.model.
Class AnnotationItem
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AnnotationItem
All Implemented Interfaces:
Container for labels on the chart
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLabel
(AnnotationItemLabel label) Adds a single label
void
addLabels
(AnnotationItemLabel... labels) Adds multiple labels
void
Clears all labels
void
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:
-