Interface: PriceCalc
Experimental
Calcdata of an ohlc or candlestick trace. Index-aligned with the data (length).
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
close | readonly | Float64Array | Experimental |
drawn | readonly | Int32Array | Experimental Data indices of the drawn bars (every value finite), in data order. |
high | readonly | Float64Array | Experimental |
increasing | readonly | Uint8Array | Experimental 1 where the bar is increasing (Plotly's dir), 0 where decreasing. |
length | readonly | number | Experimental |
low | readonly | Float64Array | Experimental |
minDiff | readonly | number | Experimental The smallest spacing between distinct positions (Plotly's Lib.distinctVals(x).minDiff), or NaN without a finite position. |
open | readonly | Float64Array | Experimental Linear prices (log10 on log axes). |
origPos | readonly | Float64Array | Experimental Linear x before period alignment: what hover labels show (Plotly's orig_p). |
period? | readonly | object | Experimental With xperiod: each bar's period (linear), which pos is aligned within. |
period.ends | readonly | Float64Array | - |
period.starts | readonly | Float64Array | - |
pos | readonly | Float64Array | Experimental Linear x positions after period alignment. |
slot | public | PriceSlot | Experimental Placement (updated by the cross-trace calc). |
sorted | readonly | boolean | Experimental The drawn bars' positions never decrease (hover bisects them). |
xType | readonly | AxisType | undefined | Experimental |
yType | readonly | AxisType | undefined | Experimental |