onclick: function () {
                        chart.dispatchAction({
                            type: 'dataZoom',
                            start: 10,
                            end: 12
                        });
                    }
                }, {
                    text: 'Zoom out',
                    onclick: function () {
                        chart.dispatchAction({
                            type: 'dataZoom',
                            start: 0,
                            end: 100
 