-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebar.js
149 lines (149 loc) · 3.89 KB
/
webar.js
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
export default {
seriesCnt: '20',
backgroundColor: 'rgba(255,255,255,1)',
titleColor: 'rgba(0,0,0,0.87)',
subtitleColor: 'rgba(0,0,0,0)',
textColorShow: false,
textColor: '#333',
markTextColor: '#ffffff',
color: [
'#4885ed',
'#58b2dc',
'#ffc408',
'#5dac81',
'#bec23f',
'#74d4b0',
'#005caf',
'#7db9de',
'#90b44b',
'#ffb11b',
'#00aa90',
'#2ea9df',
'#a8d8b9',
'#006284',
'#86c166',
'#ba9132',
'#efbb24',
'#69b0ac',
'#24936e',
'#2b5f75',
],
borderColor: '#000000',
borderWidth: 0,
visualMapColor: ['#bf444c'],
legendTextColor: 'rgba(0,0,0,0.54)',
kColor: '#c23531',
kColor0: '#314656',
kBorderColor: '#c23531',
kBorderColor0: '#314656',
kBorderWidth: 1,
lineWidth: 2,
symbolSize: 4,
symbol: 'emptyCircle',
symbolBorderWidth: 1,
lineSmooth: false,
graphLineWidth: 1,
graphLineColor: '#aaaaaa',
mapLabelColor: '#000',
mapLabelColorE: 'rgb(100,0,0)',
mapBorderColor: '#444',
mapBorderColorE: '#444',
mapBorderWidth: 0.5,
mapBorderWidthE: 1,
mapAreaColor: '#eee',
mapAreaColorE: 'rgba(255,215,0,0.8)',
axes: [
{
type: 'all',
name: '通用坐标轴',
axisLineShow: true,
axisLineColor: '#333',
axisTickShow: true,
axisTickColor: '#333',
axisLabelShow: true,
axisLabelColor: '#333',
splitLineShow: true,
splitLineColor: ['#ccc'],
splitAreaShow: false,
splitAreaColor: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)'],
},
{
type: 'category',
name: '类目坐标轴',
axisLineShow: true,
axisLineColor: 'rgba(0,0,0,0.12)',
axisTickShow: true,
axisTickColor: 'rgba(0,0,0,0.12)',
axisLabelShow: true,
axisLabelColor: 'rgba(0,0,0,0.54)',
splitLineShow: false,
splitLineColor: ['#ccc'],
splitAreaShow: false,
splitAreaColor: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)'],
},
{
type: 'value',
name: '数值坐标轴',
axisLineShow: false,
axisLineColor: 'rgba(0,0,0,0.12)',
axisTickShow: false,
axisTickColor: 'rgba(0,0,0,0.12)',
axisLabelShow: true,
axisLabelColor: 'rgba(0,0,0,0.54)',
splitLineShow: true,
splitLineColor: ['rgba(0,0,0,0.06)'],
splitAreaShow: false,
splitAreaColor: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)'],
},
{
type: 'log',
name: '对数坐标轴',
axisLineShow: false,
axisLineColor: '#333',
axisTickShow: false,
axisTickColor: '#333',
axisLabelShow: false,
axisLabelColor: 'rgba(0,0,0,0.54)',
splitLineShow: false,
splitLineColor: ['#ccc'],
splitAreaShow: false,
splitAreaColor: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)'],
},
{
type: 'time',
name: '时间坐标轴',
axisLineShow: false,
axisLineColor: '#333',
axisTickShow: false,
axisTickColor: '#333',
axisLabelShow: false,
axisLabelColor: '#333',
splitLineShow: false,
splitLineColor: ['#ccc'],
splitAreaShow: false,
splitAreaColor: ['rgba(250,250,250,0.3)', 'rgba(200,200,200,0.3)'],
},
],
axisSeperateSetting: true,
toolboxColor: 'rgba(0,0,0,0.87)',
toolboxEmphasisColor: '#4885ed',
tooltipAxisColor: 'rgba(0,0,0,0.12)',
tooltipAxisWidth: 1,
timelineLineColor: '#293c55',
timelineLineWidth: 1,
timelineItemColor: '#293c55',
timelineItemColorE: '#a9334c',
timelineCheckColor: '#e43c59',
timelineCheckBorderColor: '#c23531',
timelineItemBorderWidth: 1,
timelineControlColor: '#293c55',
timelineControlBorderColor: '#293c55',
timelineControlBorderWidth: 0.5,
timelineLabelColor: '#293c55',
datazoomBackgroundColor: 'rgba(47,69,84,0)',
datazoomDataColor: 'rgba(47,69,84,0.3)',
datazoomFillColor: 'rgba(167,183,204,0.4)',
datazoomHandleColor: '#a7b7cc',
datazoomHandleWidth: '100',
datazoomLabelColor: '#333',
};