I tried the example code but couldn’t stack it properly using lightningchart version 4.2.0
let chart = lightningChart().ChartXY({
container: this.$refs.container,
});
chart.getDefaultAxisY().dispose();
const axisTopY = chart.addAxisY({ iStack: 1 }).setTitle("Intensity Sum");
const axisBottomY = chart.addAxisY({ iStack: 0 }).setTitle("Time");
enter image description here
Sample code can be stacked properly
enter image description here
New contributor
ru code is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.