                     i * 5, i * 4, i * 20
                    ]);
                    max = Math.max(max, i * 20);
                }

                var option = {
                    legend: {
                        top: 50,
                        data: ['scatter', 'scatter2', 'scatter3']
                    },
                    grid: {
                        top: '26%',
                        bottom: '26%'
                    },
                    dataZoom: {
                        type: 'inside'