com.vaadin.flow.component.charts.model.
Class OhlcItem
All Implemented Interfaces:
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
ConstructorsConstructorDescriptionOhlcItem()
Constructs an empty ohlc data item
Constructs an ohlc data item for give open, high, low and close values
Constructs an ohlc data item for give open, high, low and close values
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
-
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
-
-