ScatterGLSeries.js
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import * as echarts from 'echarts/lib/echarts';
export default echarts.SeriesModel.extend({
type: 'series.scatterGL',
dependencies: ['grid', 'polar', 'geo', 'singleAxis'],
visualStyleAccessPath: 'itemStyle',
hasSymbolVisual: true,
getInitialData: function () {
return echarts.helper.createList(this);
},
defaultOption: {
coordinateSystem: 'cartesian2d',
zlevel: 10,
progressive: 1e5,
progressiveThreshold: 1e5,
// Cartesian coordinate system
// xAxisIndex: 0,
// yAxisIndex: 0,
// Polar coordinate system
// polarIndex: 0,
// Geo coordinate system
// geoIndex: 0,
large: false,
symbol: 'circle',
symbolSize: 10,
// symbolSize scale when zooming.
zoomScale: 0,
// Support source-over, lighter
blendMode: 'source-over',
itemStyle: {
opacity: 0.8
},
postEffect: {
enable: false,
colorCorrection: {
exposure: 0,
brightness: 0,
contrast: 1,
saturation: 1,
enable: true
}
}
}
});