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
ConstructorsConstructorDescriptionAnnotationItemLabel(String text) Constructs an AnnotationItemLabel with the given text -
Method Summary
Modifier and TypeMethodDescriptiongetPoint()getStyle()getText()voidsetPoint(AnnotationItemLabelPoint point) Sets theAnnotationItemLabelPointthat contains the coordinate data for the labelvoidSets the label style optionsvoidSets the text to be displayedvoidsetUseHTML(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 theAnnotationItemLabelPointthat 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
-