com.vaadin.flow.component.charts.model.

Class LegendTitle

All Implemented Interfaces:

Serializable

public class LegendTitle extends AbstractConfigurationObject

A title to be added on top of the legend.

See Also:

  • Constructor Details

    • LegendTitle

      public LegendTitle()
    • LegendTitle

      public LegendTitle(String text)
  • Method Details

    • 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