anychart.onDocumentReady(function () {
var chart = anychart.line([
{x: 'January', value: 29},
{x: 'February', value: 72},
{x: 'March', value: 250},
{x: 'April', value: 330},
chart.xZoom({pointsCount: 10});
chart.title('Set chart zoom parameter as an object');
chart.container('container');