<div class="chart-box"> <div id="chart-candlestick"> <ReactApexChart options={state.options} series={state.series} type="candlestick" height={290} /> </div> <div id="chart-bar"> <ReactApexChart options={state.optionsBar} series={state.seriesBar} type="bar" height={160} /> </div> </div>