com.vaadin.flow.component.charts.model.
Class FlagItem
All Implemented Interfaces:
DataSeriesItem that can hold also title and text values. Used in flags charts.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an item with X and Title values
Constructs an item with X, Title and Text values
Constructs an item with X and Title values
Constructs an item with X, Title and Text values
Deprecated.
as of 4.0.Deprecated.
as of 4.0. -
Method Summary
Methods inherited from class com.vaadin.flow.component.charts.model.DataSeriesItem
getCursor, getDataLabels, getDescription, getDial, getHigh, getLow, isCustomized, isSelected, makeCustomized, setColor, setCursor, setDataLabels, setDescription, setDial, setHigh, setId, setLegendIndex, setLow, setMarker, setName, setSelected, setSliced
Methods inherited from class com.vaadin.flow.component.charts.model.AbstractSeriesItem
getClassName, getColor, getColorIndex, getId, getLegendIndex, getMarker, getName, getSliced, getX, getY, setClassName, setColorIndex, setX, setX, setX, setY
-
Constructor Details
-
FlagItem
Constructs an item with X and Title values
Parameters:
x
-title
- -
FlagItem
Constructs an item with X and Title values
Parameters:
instant
-title
- -
FlagItem
Deprecated.as of 4.0. UseFlagItem(Instant, String)
-
FlagItem
Constructs an item with X, Title and Text values
Parameters:
x
-title
- -
FlagItem
Constructs an item with X, Title and Text values
Parameters:
instant
-title
-text
- -
FlagItem
Deprecated.as of 4.0. UseFlagItem(Instant, String, String)
-
-
Method Details
-
setTitle
Sets the title of the flag
Parameters:
title
- -
getTitle
Returns:
the title of the flag
-
getText
See Also:
-
setText
Sets the text to be displayed when the flag is highlighted
-