Class Items
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Items
-
- All Implemented Interfaces:
Serializable
public class Items extends AbstractConfigurationObject
A HTML label that can be positioned anywhere in the chart area.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Items()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHtml()
Style
getStyle()
void
setHtml(String html)
Inner HTML or text for the label.void
setStyle(Style style)
CSS styles for each label.
-
-
-
Method Detail
-
getHtml
public String getHtml()
- See Also:
setHtml(String)
-
setHtml
public void setHtml(String html)
Inner HTML or text for the label.
-
getStyle
public Style getStyle()
- See Also:
setStyle(Style)
-
setStyle
public void setStyle(Style style)
CSS styles for each label. To position the label, use left and top like this:style: { left: '100px', top: '100px' }
-
-