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:
  • Constructor Details

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

    • getLabel

      public String getLabel()
      See Also:
    • 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