Class AnnotationItemLabel
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AnnotationItemLabel
- All Implemented Interfaces:
Serializable
Label that can be positioned anywhere in the chart area
- See Also:
-
Constructor Summary
ConstructorDescriptionAnnotationItemLabel
(String text) Constructs an AnnotationItemLabel with the given text -
Method Summary
Modifier and TypeMethodDescriptiongetPoint()
getStyle()
getText()
void
setPoint
(AnnotationItemLabelPoint point) Sets theAnnotationItemLabelPoint
that contains the coordinate data for the labelvoid
Sets the label style optionsvoid
Sets the text to be displayedvoid
setUseHTML
(Boolean useHTML) Whether to enable HTML parsing for the label contents
-
Constructor Details
-
AnnotationItemLabel
Constructs an AnnotationItemLabel with the given text- Parameters:
text
- Text to be displayed
-
-
Method Details
-
getPoint
- See Also:
-
setPoint
Sets theAnnotationItemLabelPoint
that contains the coordinate data for the label- Parameters:
point
- Label point options
-
getStyle
- See Also:
-
setStyle
Sets the label style options- Parameters:
style
- Label style options
-
getText
- See Also:
-
setText
Sets the text to be displayed- Parameters:
text
- Text to be displayed
-
getUseHTML
- See Also:
-
setUseHTML
Whether to enable HTML parsing for the label contents- Parameters:
useHTML
- Whether to enable HTML
-