• Open in:

Vertically stacked axes chart

The chart above is a regular, single XY chart (although it might look like a multi-panel) chart with two value axes. We have a similar chart here. The only real difference is that instead of arranging Y axes side by side we stack them one above another. So the result is quite the same as a multiple-panel chart with shared x-axis. And this is done by simply setting: chart.leftAxesContainer.layout = "vertical" We told you, amCharts 4 was awesome!

For more gritty details about stacked, examples, and code visit this tutorial.

Demo source