anychart.onDocumentReady(function () {
var chart = anychart.line([
{x: 'January', value: 2},
{x: 'February', value: 5},
var yScale = chart.yScale();
var softMaximum = yScale.softMaximum();
chart.title('Soft maximum is ' + softMaximum);
chart.container('container');