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 HTMLLabels
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.HTMLLabels
-
All Implemented Interfaces:
public class HTMLLabels extends AbstractConfigurationObject
HTML labels that can be positioned anywhere in the chart area.
See Also:
-
-
Constructor Summary
Constructors Constructor Description HTMLLabels()
HTMLLabels(HTMLLabelItem... items)
Constructs a HTMLLabels instance with the given label items
HTMLLabels(Style style, HTMLLabelItem... items)
Constructs a HTMLLabels instance with a style shared for all the labels and the given label items
-
Method Summary
All Methods Modifier and Type Method Description HTMLLabelItem[]
getItems()
Style
getStyle()
void
setItems(HTMLLabelItem... items)
Sets the label items
void
setStyle(Style style)
Sets the CSS style shared for all the labels.
-
-
-
Constructor Detail
-
HTMLLabels
public HTMLLabels()
-
HTMLLabels
public HTMLLabels(HTMLLabelItem... items)
Constructs a HTMLLabels instance with the given label items
Parameters:
items
-
-
HTMLLabels
public HTMLLabels(Style style, HTMLLabelItem... items)
Constructs a HTMLLabels instance with a style shared for all the labels and the given label items
Parameters:
items
-
-
-
Method Detail
-
getItems
public HTMLLabelItem[] getItems()
Returns:
An array of the label items
-
setItems
public void setItems(HTMLLabelItem... items)
Sets the label items
Parameters:
items
-
-
getStyle
public Style getStyle()
See Also:
-
setStyle
public void setStyle(Style style)
Sets the CSS style shared for all the labels.
Parameters:
style
-
-
-