build

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


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