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 LegendTitle
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.LegendTitle
-
All Implemented Interfaces:
public class LegendTitle extends AbstractConfigurationObject
A title to be added on top of the legend.
See Also:
-
-
Constructor Summary
Constructors Constructor Description LegendTitle()
LegendTitle(String text)
-
-
-
Constructor Detail
-
LegendTitle
public LegendTitle()
-
LegendTitle
public LegendTitle(String text)
-
-
Method Detail
-
getStyle
public Style getStyle()
See Also:
-
setStyle
public void setStyle(Style style)
Generic CSS styles for the legend title.
Defaults to: {"fontWeight":"bold"}
-
getText
public String getText()
See Also:
-
setText
public void setText(String text)
A text or HTML string for the title.
Defaults to: null
-
-