Class LegendTitle
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.LegendTitle
-
- All Implemented Interfaces:
Serializable
public class LegendTitle extends AbstractConfigurationObject
A title to be added on top of the legend.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegendTitle()
LegendTitle(String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Style
getStyle()
String
getText()
void
setStyle(Style style)
Generic CSS styles for the legend title.void
setText(String text)
A text or HTML string for the title.
-
-
-
Constructor Detail
-
LegendTitle
public LegendTitle()
-
LegendTitle
public LegendTitle(String text)
-
-
Method Detail
-
getStyle
public Style getStyle()
- See Also:
setStyle(Style)
-
setStyle
public void setStyle(Style style)
Generic CSS styles for the legend title.Defaults to: {"fontWeight":"bold"}
-
getText
public String getText()
- See Also:
setText(String)
-
setText
public void setText(String text)
A text or HTML string for the title.Defaults to: null
-
-