build

Creates a CandlestickCartesianLayerModel with the provided x values (x), prices, and key. opening, closing, low, and high should have the same sizes.


Creates a CandlestickCartesianLayerModel with the provided prices and key, using the prices’ indices as the x values. opening, closing, low, and high should have the same sizes.