Class OhlcItem
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AbstractSeriesItem
com.vaadin.flow.component.charts.model.DataSeriesItem
com.vaadin.flow.component.charts.model.OhlcItem
- All Implemented Interfaces:
Serializable
A DataSeriesItem implementation suitable for <a
https://en.wikipedia.org/wiki/Open-high-low-close_chart">OHLC charts.
OHLC charts visualize well financial data.
-
Constructor Summary
ConstructorDescriptionOhlcItem()
Constructs an empty ohlc data itemConstructs an ohlc data item for give open, high, low and close valuesConstructs an ohlc data item for give open, high, low and close valuesDeprecated.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
-
OhlcItem
public OhlcItem()Constructs an empty ohlc data item -
OhlcItem
Constructs an ohlc data item for give open, high, low and close values- Parameters:
x
-open
-high
-low
-close
-
-
OhlcItem
Constructs an ohlc data item for give open, high, low and close values- Parameters:
instant
-open
-high
-low
-close
-
-
OhlcItem
Deprecated.as of 4.0. UseOhlcItem(Instant, Number, Number, Number, Number)
-
-
Method Details
-
getOpen
- See Also:
-
setOpen
Sets the open value of the OHLC item- Parameters:
open
-
-
getClose
- See Also:
-
setClose
Sets the close value of the OHLC item- Parameters:
close
-
-