Extract CandlestickPoint data from a candlestick or OHLC series.
amCharts keeps the four prices on the item under the names its series
settings bind: openValueY, highValueY, lowValueY, and the plain
valueY for the close. Measured on a three-day chart, one item reads
{ valueX: 1704067200000, valueY: 12, openValueY: 10, highValueY: 14, lowValueY: 9 } -- everything the point needs and nothing left over.
volume is absent rather than zero: amCharts keeps it on a separate series
when a chart draws one at all, so claiming zero would be reporting a
measurement that was never taken. CandlestickPoint.volume is optional for
exactly this.
A candle missing any of the four is skipped, so an index into the result
keeps naming the candle it addresses -- the same rule
readCategoryValues follows.
Extract CandlestickPoint data from a candlestick or OHLC series.
amCharts keeps the four prices on the item under the names its series settings bind:
openValueY,highValueY,lowValueY, and the plainvalueYfor the close. Measured on a three-day chart, one item reads{ valueX: 1704067200000, valueY: 12, openValueY: 10, highValueY: 14, lowValueY: 9 }-- everything the point needs and nothing left over.volumeis absent rather than zero: amCharts keeps it on a separate series when a chart draws one at all, so claiming zero would be reporting a measurement that was never taken.CandlestickPoint.volumeis optional for exactly this.A candle missing any of the four is skipped, so an index into the result keeps naming the candle it addresses -- the same rule readCategoryValues follows.