score:1

Accepted answer

You only need one function to loop through the data. Once I removed volumeData, put it's loop inside of mappedData and passed mappedData to the second data object in series, highCharts rendered as expected. This surprised me because the documentation example does it by passing two different objects.

series: [{
     type: 'area',
     name: `Bitcoin in USD`,
     data: mappedData,
     }, {
     type: 'column',
     data: mappedData,
     yAxis: 1,
}]

Related Query

More Query from same tag