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 DataSeriesItemTimeline

  • All Implemented Interfaces:

    Serializable

    public class DataSeriesItemTimeline
    extends DataSeriesItem

    DataSeriesItem that can hold also Label and Description values. Used in e.g. timeline series.

    See Also:

    Serialized Form

    • Constructor Detail

      • DataSeriesItemTimeline

        public DataSeriesItemTimeline()
      • DataSeriesItemTimeline

        public DataSeriesItemTimeline​(String name,
                                      String label,
                                      String description)

        Constructs an item with Name, Label and Description values

        Parameters:

        name -

        label -

        description -

      • DataSeriesItemTimeline

        public DataSeriesItemTimeline​(Number x,
                                      String name,
                                      String label,
                                      String description)

        Constructs an item with X, Name, Label and Description values

        Parameters:

        x -

        name -

        label -

        description -

      • DataSeriesItemTimeline

        public DataSeriesItemTimeline​(Instant x,
                                      String name,
                                      String label,
                                      String description)

        Constructs an item with X, Name, Label and Description values

        Parameters:

        x -

        name -

        label -

        description -

    • Method Detail

      • setLabel

        public void setLabel​(String label)

        The label of event.

      • setDescription

        public void setDescription​(String description)

        The description of event. This description will be shown in tooltip.

        Defaults to: undefined

        Overrides:

        setDescription in class DataSeriesItem