<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.column([2, 8, 4, 10], [4, 10, 6, 14], [8, 18, 14, 24]);
var scale = chart.yScale();
// Set stack mode for scale.
scale.stackMode('value');
chart.title('Set stack mode for the scale');
chart.container('container');
chart.draw();
});