anychart.onDocumentReady(function () {
var xml = '<?xml version="1.0" encoding="utf-8"?>' +
'<anychart xmlns="https://cdn.anychart.com/schemas/8.7.1/xml-schema.xsd">' +
'<chart type="column" container="container" title="XML Scale Inversion">' +
'<axis orientation="top" title="false"/>'+
'<axis orientation="right" title="false"/>'+
'<y_scale inverted="true"/>'+
'<point x="P1" value="128.14"/>'+
'<point x="P2" value="112.61"/>'+
'<point x="P3" value="163.21"/>'+
'<point x="P4" value="229.98"/>'+
'<point x="P5" value="90.54"/>'+
var chart = anychart.fromXml(xml);