public class OhlcItem extends DataSeriesItem
PlotOptionsOhlc
,
PlotOptionsCandlestick
,
Serialized FormConstructor and Description |
---|
OhlcItem()
Constructs an empty ohlc data item
|
OhlcItem(Date date,
Number open,
Number high,
Number low,
Number close)
Deprecated.
as of 4.0. Use
OhlcItem(Instant, Number, Number, Number, Number) |
OhlcItem(Instant instant,
Number open,
Number high,
Number low,
Number close)
Constructs an ohlc data item for give open, high, low and close values
|
OhlcItem(Number x,
Number open,
Number high,
Number low,
Number close)
Constructs an ohlc data item for give open, high, low and close values
|
Modifier and Type | Method and Description |
---|---|
Number |
getClose() |
Number |
getOpen() |
void |
setClose(Number close)
Sets the close value of the OHLC item
|
void |
setOpen(Number open)
Sets the open value of the OHLC item
|
getCursor, getDataLabels, getDial, getHigh, getLow, isCustomized, isSelected, makeCustomized, setColorIndex, setCursor, setDataLabels, setDial, setHigh, setId, setLegendIndex, setLow, setMarker, setName, setSelected, setSliced
getClassName, getColorIndex, getId, getLegendIndex, getMarker, getName, getSliced, getX, getY, setClassName, setX, setX, setX, setY
public OhlcItem()
public OhlcItem(Number x, Number open, Number high, Number low, Number close)
x
- open
- high
- low
- close
- public OhlcItem(Instant instant, Number open, Number high, Number low, Number close)
instant
- open
- high
- low
- close
- @Deprecated public OhlcItem(Date date, Number open, Number high, Number low, Number close)
OhlcItem(Instant, Number, Number, Number, Number)
public Number getOpen()
setOpen(Number)
public void setOpen(Number open)
open
- public Number getClose()
setClose(Number)
public void setClose(Number close)
close
- Copyright © 2023. All rights reserved.