<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function() {
// define chart type
var chart = anychart.column();
// chart title
chart.title("Inverted Scale");
// set scale minimum
var yScale = chart.yScale();
yScale.minimum(0);
// setting data
var data = anychart.data.set([
["C", 15],
["D", 45],
["E", 25]
]);
chart.column(data);
// setting yScale inversion
yScale.inverted(true);
chart.container("container");
chart.draw();
});