evui 3.3.36 → 3.3.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +40 -40
- package/dist/evui.common.js +1907 -1832
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +1907 -1832
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/dist/img/{EVUI.7f3588fb.svg → EVUI.b82ee81a.svg} +292 -292
- package/dist/img/{icon_mysql.7ea26d5d.svg → icon_mysql.1085fdc9.svg} +78 -78
- package/dist/img/{icon_oracle.9009b108.svg → icon_oracle.0572d3ee.svg} +13 -13
- package/dist/img/{icon_postgresql.f8fffba9.svg → icon_postgresql.ee12bde8.svg} +58 -58
- package/package.json +61 -61
- package/src/common/emitter.js +20 -20
- package/src/common/utils.debounce.js +223 -223
- package/src/common/utils.js +134 -134
- package/src/common/utils.table.js +78 -78
- package/src/common/utils.throttle.js +83 -83
- package/src/common/utils.tree.js +18 -18
- package/src/components/button/Button.vue +198 -198
- package/src/components/button/index.js +7 -7
- package/src/components/buttonGroup/ButtonGroup.vue +11 -11
- package/src/components/buttonGroup/index.js +7 -7
- package/src/components/calendar/Calendar.vue +661 -661
- package/src/components/calendar/index.js +7 -7
- package/src/components/calendar/uses.js +1272 -1272
- package/src/components/chart/Chart.vue +189 -192
- package/src/components/chart/chart.core.js +870 -870
- package/src/components/chart/element/element.bar.js +524 -524
- package/src/components/chart/element/element.bar.time.js +156 -156
- package/src/components/chart/element/element.heatmap.js +533 -533
- package/src/components/chart/element/element.line.js +339 -339
- package/src/components/chart/element/element.pie.js +197 -197
- package/src/components/chart/element/element.scatter.js +184 -184
- package/src/components/chart/element/element.tip.js +550 -542
- package/src/components/chart/helpers/helpers.canvas.js +265 -265
- package/src/components/chart/helpers/helpers.constant.js +206 -206
- package/src/components/chart/helpers/helpers.util.js +346 -338
- package/src/components/chart/index.js +9 -9
- package/src/components/chart/model/index.js +4 -4
- package/src/components/chart/model/model.series.js +93 -93
- package/src/components/chart/model/model.store.js +977 -967
- package/src/components/chart/plugins/plugins.interaction.js +769 -769
- package/src/components/chart/plugins/plugins.legend.gradient.js +602 -602
- package/src/components/chart/plugins/plugins.legend.js +1155 -1151
- package/src/components/chart/plugins/plugins.pie.js +254 -254
- package/src/components/chart/plugins/plugins.title.js +56 -56
- package/src/components/chart/plugins/plugins.tooltip.js +692 -692
- package/src/components/chart/scale/scale.js +848 -848
- package/src/components/chart/scale/scale.linear.js +38 -38
- package/src/components/chart/scale/scale.logarithmic.js +128 -128
- package/src/components/chart/scale/scale.step.js +336 -336
- package/src/components/chart/scale/scale.time.category.js +277 -277
- package/src/components/chart/scale/scale.time.js +48 -48
- package/src/components/chart/style/chart.scss +312 -312
- package/src/components/chart/uses.js +264 -252
- package/src/components/checkbox/Checkbox.vue +200 -200
- package/src/components/checkbox/index.js +7 -7
- package/src/components/checkboxGroup/CheckboxGroup.vue +44 -44
- package/src/components/checkboxGroup/index.js +7 -7
- package/src/components/contextMenu/ContextMenu.vue +80 -80
- package/src/components/contextMenu/MenuList.vue +149 -149
- package/src/components/contextMenu/index.js +7 -7
- package/src/components/contextMenu/uses.js +203 -203
- package/src/components/datePicker/DatePicker.vue +437 -437
- package/src/components/datePicker/index.js +7 -7
- package/src/components/datePicker/uses.js +419 -419
- package/src/components/grid/Grid.vue +827 -827
- package/src/components/grid/grid.filter.window.vue +493 -493
- package/src/components/grid/grid.pagination.vue +75 -75
- package/src/components/grid/grid.summary.vue +265 -265
- package/src/components/grid/grid.toolbar.vue +26 -26
- package/src/components/grid/index.js +11 -11
- package/src/components/grid/style/grid.scss +263 -263
- package/src/components/grid/uses.js +1002 -1007
- package/src/components/icon/Icon.vue +49 -49
- package/src/components/icon/index.js +8 -8
- package/src/components/inputNumber/InputNumber.vue +212 -212
- package/src/components/inputNumber/index.js +7 -7
- package/src/components/inputNumber/uses.js +217 -217
- package/src/components/loading/Loading.vue +125 -125
- package/src/components/loading/index.js +7 -7
- package/src/components/menu/Menu.vue +68 -68
- package/src/components/menu/MenuItem.vue +187 -187
- package/src/components/menu/index.js +7 -7
- package/src/components/message/Message.vue +223 -223
- package/src/components/message/index.js +31 -31
- package/src/components/messageBox/MessageBox.vue +358 -358
- package/src/components/messageBox/index.js +22 -22
- package/src/components/notification/Notification.vue +316 -316
- package/src/components/notification/index.js +49 -49
- package/src/components/pagination/Pagination.vue +271 -271
- package/src/components/pagination/index.js +7 -7
- package/src/components/pagination/pageButton.vue +30 -30
- package/src/components/progress/Progress.vue +139 -139
- package/src/components/progress/index.js +7 -7
- package/src/components/radio/Radio.vue +159 -159
- package/src/components/radio/index.js +7 -7
- package/src/components/radioGroup/RadioGroup.vue +41 -41
- package/src/components/radioGroup/index.js +7 -7
- package/src/components/scheduler/Scheduler.vue +149 -149
- package/src/components/scheduler/index.js +7 -7
- package/src/components/scheduler/uses.js +183 -183
- package/src/components/select/Select.vue +440 -440
- package/src/components/select/index.js +7 -7
- package/src/components/select/uses.js +270 -270
- package/src/components/slider/Slider.vue +505 -505
- package/src/components/slider/index.js +7 -7
- package/src/components/slider/uses.js +390 -390
- package/src/components/tabPanel/TabPanel.vue +74 -74
- package/src/components/tabPanel/index.js +7 -7
- package/src/components/tabs/Tabs.vue +517 -517
- package/src/components/tabs/index.js +7 -7
- package/src/components/textField/TextField.vue +375 -375
- package/src/components/textField/index.js +7 -7
- package/src/components/timePicker/TimePicker.vue +352 -352
- package/src/components/timePicker/index.js +7 -7
- package/src/components/toggle/Toggle.vue +115 -115
- package/src/components/toggle/index.js +7 -7
- package/src/components/tree/Tree.vue +313 -313
- package/src/components/tree/TreeNode.vue +293 -293
- package/src/components/tree/index.js +7 -7
- package/src/components/treeGrid/TreeGrid.vue +758 -758
- package/src/components/treeGrid/TreeGridNode.vue +275 -275
- package/src/components/treeGrid/index.js +9 -9
- package/src/components/treeGrid/style/treeGrid.scss +261 -261
- package/src/components/treeGrid/treeGrid.toolbar.vue +26 -26
- package/src/components/treeGrid/uses.js +867 -867
- package/src/components/window/Window.vue +329 -329
- package/src/components/window/index.js +7 -7
- package/src/components/window/uses.js +899 -899
- package/src/directives/clickoutside.js +90 -90
- package/src/main.js +116 -116
- package/src/style/components/input.scss +108 -108
- package/src/style/functions.scss +3 -3
- package/src/style/index.scss +6 -6
- package/src/style/lib/fonts/EVUI.svg +292 -292
- package/src/style/lib/icon.css +888 -888
- package/src/style/mixins.scss +94 -94
- package/src/style/themes.scss +67 -67
- package/src/style/variables.scss +22 -22
|
@@ -1,206 +1,206 @@
|
|
|
1
|
-
export const AXIS_UNITS = {
|
|
2
|
-
x: {
|
|
3
|
-
rectStart: 'x1',
|
|
4
|
-
rectEnd: 'x2',
|
|
5
|
-
rectOffsetCounter: position => (position === 'top' ? 'y2' : 'y1'),
|
|
6
|
-
rectOffset: position => (position === 'top' ? 'y1' : 'y2'),
|
|
7
|
-
},
|
|
8
|
-
y: {
|
|
9
|
-
rectStart: 'y2',
|
|
10
|
-
rectEnd: 'y1',
|
|
11
|
-
rectOffsetCounter: position => (position === 'left' ? 'x2' : 'x1'),
|
|
12
|
-
rectOffset: position => (position === 'left' ? 'x1' : 'x2'),
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export const COLOR = [
|
|
17
|
-
'#2b99f0', '#8ac449', '#00C4C5', '#ffde00', '#ff7781', '#8470ff', '#75cd8e',
|
|
18
|
-
'#48d1cc', '#fec64f', '#fe984f', '#0052ff', '#00a48c', '#83cfde', '#dfe32d',
|
|
19
|
-
'#ff7d40', '#99c7ff', '#a5fee3', '#0379c9', '#eef093', '#ffa891', '#00c5cd',
|
|
20
|
-
'#009bc7', '#cacaff', '#ffc125', '#df6264',
|
|
21
|
-
];
|
|
22
|
-
|
|
23
|
-
// export const COLOR = [
|
|
24
|
-
// '#00C8FC', '#00F1CD', '#C19F87', '#008FD2', '#93F7FE', '#00FC78', '#0058DE',
|
|
25
|
-
// '#3BDEFF', '#254763', '#BAEDF9', '#A24E3D', '#1FD017', '#F1D3B6', '#AFC9C9',
|
|
26
|
-
// '#498700', '#3650FE', '#8786EF', '#68FBFB', '#BCF061', '#CBD3EA',
|
|
27
|
-
// ];
|
|
28
|
-
|
|
29
|
-
export const LINE_OPTION = {
|
|
30
|
-
show: true,
|
|
31
|
-
highlight: {
|
|
32
|
-
defaultSize: 4,
|
|
33
|
-
maxSize: 6,
|
|
34
|
-
maxShadowSize: 10,
|
|
35
|
-
maxShadowOpacity: 0.4,
|
|
36
|
-
},
|
|
37
|
-
xAxisIndex: 0,
|
|
38
|
-
yAxisIndex: 0,
|
|
39
|
-
point: true,
|
|
40
|
-
pointSize: 3,
|
|
41
|
-
pointStyle: '',
|
|
42
|
-
lineWidth: 2,
|
|
43
|
-
fill: false,
|
|
44
|
-
fillOpacity: 0.4,
|
|
45
|
-
showLegend: true,
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export const BAR_OPTION = {
|
|
49
|
-
show: true,
|
|
50
|
-
highlight: {
|
|
51
|
-
pointSize: 5,
|
|
52
|
-
},
|
|
53
|
-
xAxisIndex: 0,
|
|
54
|
-
yAxisIndex: 0,
|
|
55
|
-
category: true,
|
|
56
|
-
showLegend: true,
|
|
57
|
-
showValue: {
|
|
58
|
-
use: false,
|
|
59
|
-
fontSize: 12,
|
|
60
|
-
textColor: '#000000',
|
|
61
|
-
formatter: null,
|
|
62
|
-
decimalPoint: 0,
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export const PIE_OPTION = {
|
|
67
|
-
show: true,
|
|
68
|
-
showLegend: true,
|
|
69
|
-
stroke: {
|
|
70
|
-
show: true,
|
|
71
|
-
color: '#FFFFFF',
|
|
72
|
-
lineWidth: 2,
|
|
73
|
-
},
|
|
74
|
-
showValue: {
|
|
75
|
-
use: false,
|
|
76
|
-
fontSize: 12,
|
|
77
|
-
textColor: '#000000',
|
|
78
|
-
formatter: null,
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export const AXIS_OPTION = {
|
|
83
|
-
min: null,
|
|
84
|
-
max: null,
|
|
85
|
-
autoScaleRatio: null,
|
|
86
|
-
startToZero: false,
|
|
87
|
-
showAxis: true,
|
|
88
|
-
axisLineColor: '#C9CFDC',
|
|
89
|
-
showGrid: true,
|
|
90
|
-
gridLineColor: '#C9CFDC',
|
|
91
|
-
showIndicator: false,
|
|
92
|
-
timeFormat: 'mm:ss',
|
|
93
|
-
range: null,
|
|
94
|
-
interval: null,
|
|
95
|
-
decimalPoint: null,
|
|
96
|
-
labelStyle: {
|
|
97
|
-
show: true,
|
|
98
|
-
fontSize: 12,
|
|
99
|
-
color: '#25262E',
|
|
100
|
-
fontFamily: 'Roboto',
|
|
101
|
-
fontWeight: 400,
|
|
102
|
-
fitWidth: false,
|
|
103
|
-
fitDir: 'right',
|
|
104
|
-
alignToGridLine: false,
|
|
105
|
-
},
|
|
106
|
-
title: {
|
|
107
|
-
use: false,
|
|
108
|
-
text: null,
|
|
109
|
-
fontWeight: 400,
|
|
110
|
-
fontSize: 12,
|
|
111
|
-
fontFamily: 'Roboto',
|
|
112
|
-
textAlign: 'right',
|
|
113
|
-
fontStyle: 'normal',
|
|
114
|
-
color: '#808080',
|
|
115
|
-
},
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
export const PLOT_LINE_OPTION = {
|
|
119
|
-
color: '#FF0000',
|
|
120
|
-
lineWidth: 1,
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
export const PLOT_LINE_LABEL_OPTION = {
|
|
124
|
-
show: false,
|
|
125
|
-
fontSize: 12,
|
|
126
|
-
fontColor: '#FF0000',
|
|
127
|
-
fillColor: '#FFFFFF',
|
|
128
|
-
lineColor: '#FF0000',
|
|
129
|
-
lineWidth: 0,
|
|
130
|
-
fontWeight: 400,
|
|
131
|
-
fontFamily: 'Roboto',
|
|
132
|
-
verticalAlign: 'middle',
|
|
133
|
-
textAlign: 'center',
|
|
134
|
-
textOverflow: 'none', // 'none', 'ellipsis'
|
|
135
|
-
maxWidth: null,
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
export const PLOT_BAND_OPTION = {
|
|
139
|
-
color: '#FAE59D',
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
export const HEAT_MAP_OPTION = {
|
|
143
|
-
show: true,
|
|
144
|
-
highlight: {
|
|
145
|
-
maxShadowOpacity: 0.4,
|
|
146
|
-
brightness: 150,
|
|
147
|
-
},
|
|
148
|
-
xAxisIndex: 0,
|
|
149
|
-
yAxisIndex: 0,
|
|
150
|
-
showLegend: true,
|
|
151
|
-
showValue: {
|
|
152
|
-
use: false,
|
|
153
|
-
fontSize: 12,
|
|
154
|
-
textColor: '#000000',
|
|
155
|
-
formatter: null,
|
|
156
|
-
decimalPoint: 0,
|
|
157
|
-
},
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
export const TIME_INTERVALS = {
|
|
162
|
-
millisecond: {
|
|
163
|
-
common: true,
|
|
164
|
-
size: 1,
|
|
165
|
-
steps: [1, 2, 5, 10, 20, 50, 100, 250, 500],
|
|
166
|
-
},
|
|
167
|
-
second: {
|
|
168
|
-
common: true,
|
|
169
|
-
size: 1000,
|
|
170
|
-
steps: [1, 2, 5, 10, 30],
|
|
171
|
-
},
|
|
172
|
-
minute: {
|
|
173
|
-
common: true,
|
|
174
|
-
size: 60000,
|
|
175
|
-
steps: [1, 2, 5, 10, 30],
|
|
176
|
-
},
|
|
177
|
-
hour: {
|
|
178
|
-
common: true,
|
|
179
|
-
size: 3600000,
|
|
180
|
-
steps: [1, 2, 3, 6, 12],
|
|
181
|
-
},
|
|
182
|
-
day: {
|
|
183
|
-
common: true,
|
|
184
|
-
size: 86400000,
|
|
185
|
-
steps: [1, 2, 5],
|
|
186
|
-
},
|
|
187
|
-
week: {
|
|
188
|
-
common: false,
|
|
189
|
-
size: 604800000,
|
|
190
|
-
steps: [1, 2, 3, 4],
|
|
191
|
-
},
|
|
192
|
-
month: {
|
|
193
|
-
common: true,
|
|
194
|
-
size: 2.628e9,
|
|
195
|
-
steps: [1, 2, 3],
|
|
196
|
-
},
|
|
197
|
-
quarter: {
|
|
198
|
-
common: false,
|
|
199
|
-
size: 7.884e9,
|
|
200
|
-
steps: [1, 2, 3, 4],
|
|
201
|
-
},
|
|
202
|
-
year: {
|
|
203
|
-
common: true,
|
|
204
|
-
size: 3.154e10,
|
|
205
|
-
},
|
|
206
|
-
};
|
|
1
|
+
export const AXIS_UNITS = {
|
|
2
|
+
x: {
|
|
3
|
+
rectStart: 'x1',
|
|
4
|
+
rectEnd: 'x2',
|
|
5
|
+
rectOffsetCounter: position => (position === 'top' ? 'y2' : 'y1'),
|
|
6
|
+
rectOffset: position => (position === 'top' ? 'y1' : 'y2'),
|
|
7
|
+
},
|
|
8
|
+
y: {
|
|
9
|
+
rectStart: 'y2',
|
|
10
|
+
rectEnd: 'y1',
|
|
11
|
+
rectOffsetCounter: position => (position === 'left' ? 'x2' : 'x1'),
|
|
12
|
+
rectOffset: position => (position === 'left' ? 'x1' : 'x2'),
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export const COLOR = [
|
|
17
|
+
'#2b99f0', '#8ac449', '#00C4C5', '#ffde00', '#ff7781', '#8470ff', '#75cd8e',
|
|
18
|
+
'#48d1cc', '#fec64f', '#fe984f', '#0052ff', '#00a48c', '#83cfde', '#dfe32d',
|
|
19
|
+
'#ff7d40', '#99c7ff', '#a5fee3', '#0379c9', '#eef093', '#ffa891', '#00c5cd',
|
|
20
|
+
'#009bc7', '#cacaff', '#ffc125', '#df6264',
|
|
21
|
+
];
|
|
22
|
+
|
|
23
|
+
// export const COLOR = [
|
|
24
|
+
// '#00C8FC', '#00F1CD', '#C19F87', '#008FD2', '#93F7FE', '#00FC78', '#0058DE',
|
|
25
|
+
// '#3BDEFF', '#254763', '#BAEDF9', '#A24E3D', '#1FD017', '#F1D3B6', '#AFC9C9',
|
|
26
|
+
// '#498700', '#3650FE', '#8786EF', '#68FBFB', '#BCF061', '#CBD3EA',
|
|
27
|
+
// ];
|
|
28
|
+
|
|
29
|
+
export const LINE_OPTION = {
|
|
30
|
+
show: true,
|
|
31
|
+
highlight: {
|
|
32
|
+
defaultSize: 4,
|
|
33
|
+
maxSize: 6,
|
|
34
|
+
maxShadowSize: 10,
|
|
35
|
+
maxShadowOpacity: 0.4,
|
|
36
|
+
},
|
|
37
|
+
xAxisIndex: 0,
|
|
38
|
+
yAxisIndex: 0,
|
|
39
|
+
point: true,
|
|
40
|
+
pointSize: 3,
|
|
41
|
+
pointStyle: '',
|
|
42
|
+
lineWidth: 2,
|
|
43
|
+
fill: false,
|
|
44
|
+
fillOpacity: 0.4,
|
|
45
|
+
showLegend: true,
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export const BAR_OPTION = {
|
|
49
|
+
show: true,
|
|
50
|
+
highlight: {
|
|
51
|
+
pointSize: 5,
|
|
52
|
+
},
|
|
53
|
+
xAxisIndex: 0,
|
|
54
|
+
yAxisIndex: 0,
|
|
55
|
+
category: true,
|
|
56
|
+
showLegend: true,
|
|
57
|
+
showValue: {
|
|
58
|
+
use: false,
|
|
59
|
+
fontSize: 12,
|
|
60
|
+
textColor: '#000000',
|
|
61
|
+
formatter: null,
|
|
62
|
+
decimalPoint: 0,
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export const PIE_OPTION = {
|
|
67
|
+
show: true,
|
|
68
|
+
showLegend: true,
|
|
69
|
+
stroke: {
|
|
70
|
+
show: true,
|
|
71
|
+
color: '#FFFFFF',
|
|
72
|
+
lineWidth: 2,
|
|
73
|
+
},
|
|
74
|
+
showValue: {
|
|
75
|
+
use: false,
|
|
76
|
+
fontSize: 12,
|
|
77
|
+
textColor: '#000000',
|
|
78
|
+
formatter: null,
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export const AXIS_OPTION = {
|
|
83
|
+
min: null,
|
|
84
|
+
max: null,
|
|
85
|
+
autoScaleRatio: null,
|
|
86
|
+
startToZero: false,
|
|
87
|
+
showAxis: true,
|
|
88
|
+
axisLineColor: '#C9CFDC',
|
|
89
|
+
showGrid: true,
|
|
90
|
+
gridLineColor: '#C9CFDC',
|
|
91
|
+
showIndicator: false,
|
|
92
|
+
timeFormat: 'mm:ss',
|
|
93
|
+
range: null,
|
|
94
|
+
interval: null,
|
|
95
|
+
decimalPoint: null,
|
|
96
|
+
labelStyle: {
|
|
97
|
+
show: true,
|
|
98
|
+
fontSize: 12,
|
|
99
|
+
color: '#25262E',
|
|
100
|
+
fontFamily: 'Roboto',
|
|
101
|
+
fontWeight: 400,
|
|
102
|
+
fitWidth: false,
|
|
103
|
+
fitDir: 'right',
|
|
104
|
+
alignToGridLine: false,
|
|
105
|
+
},
|
|
106
|
+
title: {
|
|
107
|
+
use: false,
|
|
108
|
+
text: null,
|
|
109
|
+
fontWeight: 400,
|
|
110
|
+
fontSize: 12,
|
|
111
|
+
fontFamily: 'Roboto',
|
|
112
|
+
textAlign: 'right',
|
|
113
|
+
fontStyle: 'normal',
|
|
114
|
+
color: '#808080',
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export const PLOT_LINE_OPTION = {
|
|
119
|
+
color: '#FF0000',
|
|
120
|
+
lineWidth: 1,
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export const PLOT_LINE_LABEL_OPTION = {
|
|
124
|
+
show: false,
|
|
125
|
+
fontSize: 12,
|
|
126
|
+
fontColor: '#FF0000',
|
|
127
|
+
fillColor: '#FFFFFF',
|
|
128
|
+
lineColor: '#FF0000',
|
|
129
|
+
lineWidth: 0,
|
|
130
|
+
fontWeight: 400,
|
|
131
|
+
fontFamily: 'Roboto',
|
|
132
|
+
verticalAlign: 'middle',
|
|
133
|
+
textAlign: 'center',
|
|
134
|
+
textOverflow: 'none', // 'none', 'ellipsis'
|
|
135
|
+
maxWidth: null,
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export const PLOT_BAND_OPTION = {
|
|
139
|
+
color: '#FAE59D',
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export const HEAT_MAP_OPTION = {
|
|
143
|
+
show: true,
|
|
144
|
+
highlight: {
|
|
145
|
+
maxShadowOpacity: 0.4,
|
|
146
|
+
brightness: 150,
|
|
147
|
+
},
|
|
148
|
+
xAxisIndex: 0,
|
|
149
|
+
yAxisIndex: 0,
|
|
150
|
+
showLegend: true,
|
|
151
|
+
showValue: {
|
|
152
|
+
use: false,
|
|
153
|
+
fontSize: 12,
|
|
154
|
+
textColor: '#000000',
|
|
155
|
+
formatter: null,
|
|
156
|
+
decimalPoint: 0,
|
|
157
|
+
},
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
export const TIME_INTERVALS = {
|
|
162
|
+
millisecond: {
|
|
163
|
+
common: true,
|
|
164
|
+
size: 1,
|
|
165
|
+
steps: [1, 2, 5, 10, 20, 50, 100, 250, 500],
|
|
166
|
+
},
|
|
167
|
+
second: {
|
|
168
|
+
common: true,
|
|
169
|
+
size: 1000,
|
|
170
|
+
steps: [1, 2, 5, 10, 30],
|
|
171
|
+
},
|
|
172
|
+
minute: {
|
|
173
|
+
common: true,
|
|
174
|
+
size: 60000,
|
|
175
|
+
steps: [1, 2, 5, 10, 30],
|
|
176
|
+
},
|
|
177
|
+
hour: {
|
|
178
|
+
common: true,
|
|
179
|
+
size: 3600000,
|
|
180
|
+
steps: [1, 2, 3, 6, 12],
|
|
181
|
+
},
|
|
182
|
+
day: {
|
|
183
|
+
common: true,
|
|
184
|
+
size: 86400000,
|
|
185
|
+
steps: [1, 2, 5],
|
|
186
|
+
},
|
|
187
|
+
week: {
|
|
188
|
+
common: false,
|
|
189
|
+
size: 604800000,
|
|
190
|
+
steps: [1, 2, 3, 4],
|
|
191
|
+
},
|
|
192
|
+
month: {
|
|
193
|
+
common: true,
|
|
194
|
+
size: 2.628e9,
|
|
195
|
+
steps: [1, 2, 3],
|
|
196
|
+
},
|
|
197
|
+
quarter: {
|
|
198
|
+
common: false,
|
|
199
|
+
size: 7.884e9,
|
|
200
|
+
steps: [1, 2, 3, 4],
|
|
201
|
+
},
|
|
202
|
+
year: {
|
|
203
|
+
common: true,
|
|
204
|
+
size: 3.154e10,
|
|
205
|
+
},
|
|
206
|
+
};
|