Skip to content

Interface: PriceSlot ​

Experimental

Where the bars of a trace sit around their positions, in x linear units. ohlc and candlestick fill it from their own cross-trace calc.

Properties ​

PropertyModifierTypeDescription
bPosreadonlynumberExperimental Offset of the drawn bar from its position (grouped candlesticks; 0 for ohlc).
dPosreadonlynumberExperimental Half the smallest spacing of positions (Plotly's dPos): autorange padding on x.
halfWidthreadonlynumberExperimental Half the drawn width: the ohlc tick length, the candle body's half width.
wHoverreadonlynumberExperimental Half the x span around the bar center that hovers it (Plotly's wHover).

Released under the MIT License.