You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.charts.model.

Class HTMLLabels

    • 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 -

      • setStyle

        public void setStyle​(Style style)

        Sets the CSS style shared for all the labels.

        Parameters:

        style -