Chartjs-Stack two y axes using chart.js

0👍

You could use two canvas, one for each chart.

You can hide the xAxis for the upper chart with options2.scales.xAxes[0].display = true.

And you must take care of the offset. Either both need offset or none because bar chart has offset and line chart not.
options2.scales.xAxes[0].offset = false or the other way around, offset = true for the other chart.

Full functional example in JSBin

Leave a comment