r (let i = dataSource.from; i < dataSource.to; i++) {
              max = Math.max(max, result[i].volume)
            }
            const length = dataSource.to - dataSource.from
            const barHeight = (viewport.height) / length
            const realBarHeight = barHeight * 0.8

            ctx.globalCompositeOperation = 'destination-over'
            ctx.fillStyle = 'rgba(65, 20, 69, .35)'
            let startY = (barHeight - realBarHeight) / 2
            for (let i = dataSource.from; i < dataSour