var data = Array(600).fill(1).map(t => [Math.random() * 600, Math.random() * 600])
option = {
xAxis: {
scale: true
},
yAxis: {
scale: true
},
brush: {
outOfBrush: {
color: '#abc'
},
brushStyle: {
borderWidth: 2,
color: 'rgba(0,0,0,0.2)',
borderColor: 'rgba(0,0,0,0.5)',
},
seriesIndex: [0, 1],
throttleType: 'debounce',
throttleDelay: 300,
geoIndex: 0
},
series: [{
type: 'scatter',
data: data,
}]
};