Chart.js v2.x是否可以使用一个y轴生成包含两条非堆叠线的组合堆叠条形图?如果是这样的话,是怎么做的?
下面的小提琴有2个y轴。如果右y轴的最大值为6000,则下降线的渲染效果会更好。
。
下面是供参考的代码。
// set default no fill beneath the line
Chart.defaults.global.elements.line.fill = false;
// stacked bar with 2 unstacked lines - nope
var barChartData = {