@10yun/cv-mobile-ui 0.5.63 → 0.5.64

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.
Files changed (58) hide show
  1. package/other/uCharts-uniapp/index.js +2 -0
  2. package/other/uCharts-uniapp/package.json +42 -0
  3. package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/config-echarts.js +421 -421
  4. package/other/{qiun-data-charts → uCharts-uniapp/u-charts}/license.md +201 -201
  5. package/other/uCharts-uniapp/u-charts/package.json +19 -0
  6. package/other/{qiun-data-charts/readme.md → uCharts-uniapp/u-charts/readme-npm.md} +57 -63
  7. package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/readme.md +4 -4
  8. package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/u-charts.js +7661 -7661
  9. package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/u-charts.min.js +1 -1
  10. package/package.json +1 -1
  11. package/ui-cv/components/cv-filter-hm/cv-filter-hm.vue +134 -167
  12. package/other/qiun-data-charts/changelog.md +0 -320
  13. package/other/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +0 -1618
  14. package/other/qiun-data-charts/components/qiun-error/qiun-error.vue +0 -46
  15. package/other/qiun-data-charts/components/qiun-loading/loading1.vue +0 -162
  16. package/other/qiun-data-charts/components/qiun-loading/loading2.vue +0 -170
  17. package/other/qiun-data-charts/components/qiun-loading/loading3.vue +0 -173
  18. package/other/qiun-data-charts/components/qiun-loading/loading4.vue +0 -222
  19. package/other/qiun-data-charts/components/qiun-loading/loading5.vue +0 -229
  20. package/other/qiun-data-charts/components/qiun-loading/qiun-loading.vue +0 -36
  21. package/other/qiun-data-charts/js_sdk2/app-echarts.min.js +0 -23
  22. package/other/qiun-data-charts/js_sdk2/h5-echarts.min.js +0 -23
  23. package/other/qiun-data-charts/package.json +0 -81
  24. package/other/qiun-data-charts/static/app-plus/echarts.min.js +0 -23
  25. package/other/qiun-data-charts/static/h5/echarts.min.js +0 -23
  26. package/other/qiun-data-charts_2.5.0-20230101_example/App.vue +0 -20
  27. package/other/qiun-data-charts_2.5.0-20230101_example/common/uni-icons.css +0 -542
  28. package/other/qiun-data-charts_2.5.0-20230101_example/common/uni.css +0 -246
  29. package/other/qiun-data-charts_2.5.0-20230101_example/components/qiun-title-bar/qiun-title-bar.vue +0 -51
  30. package/other/qiun-data-charts_2.5.0-20230101_example/components/test-charts/test-charts.vue +0 -48
  31. package/other/qiun-data-charts_2.5.0-20230101_example/main.js +0 -13
  32. package/other/qiun-data-charts_2.5.0-20230101_example/manifest.json +0 -75
  33. package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/demodata.json +0 -448
  34. package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/mapdata.json +0 -1
  35. package/other/qiun-data-charts_2.5.0-20230101_example/pages/canvas/canvas.vue +0 -142
  36. package/other/qiun-data-charts_2.5.0-20230101_example/pages/echarts/echarts.vue +0 -228
  37. package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-e/format-e.vue +0 -113
  38. package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-u/format-u.vue +0 -110
  39. package/other/qiun-data-charts_2.5.0-20230101_example/pages/index/index.vue +0 -58
  40. package/other/qiun-data-charts_2.5.0-20230101_example/pages/layout/layout.vue +0 -174
  41. package/other/qiun-data-charts_2.5.0-20230101_example/pages/other/other.vue +0 -233
  42. package/other/qiun-data-charts_2.5.0-20230101_example/pages/tab/tab.vue +0 -115
  43. package/other/qiun-data-charts_2.5.0-20230101_example/pages/ucharts/ucharts.vue +0 -339
  44. package/other/qiun-data-charts_2.5.0-20230101_example/pages/unicloud/unicloud.vue +0 -117
  45. package/other/qiun-data-charts_2.5.0-20230101_example/pages/updata/updata.vue +0 -212
  46. package/other/qiun-data-charts_2.5.0-20230101_example/pages.json +0 -79
  47. package/other/qiun-data-charts_2.5.0-20230101_example/static/logo.png +0 -0
  48. package/other/qiun-data-charts_2.5.0-20230101_example/uni.scss +0 -76
  49. package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/db_init.json +0 -455
  50. package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/qiun-charts-demo.schema.json +0 -76
  51. package/other/u-charts/config.js +0 -503
  52. package/other/u-charts/data.json +0 -1143
  53. package/other/u-charts/demodata.json +0 -267
  54. package/other/u-charts/mapdata.json +0 -41
  55. package/other/u-charts/u-charts.js +0 -5687
  56. package/other/u-charts/u-charts.min.js +0 -1
  57. package/other/u-charts/u-charts.vue +0 -466
  58. /package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/config-ucharts.js +0 -0
@@ -1,422 +1,422 @@
1
- /*
2
- * uCharts®
3
- * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台
4
- * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved.
5
- * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
6
- * 复制使用请保留本段注释,感谢支持开源!
7
- *
8
- * uCharts®官方网站
9
- * https://www.uCharts.cn
10
- *
11
- * 开源地址:
12
- * https://gitee.com/uCharts/uCharts
13
- *
14
- * uni-app插件市场地址:
15
- * http://ext.dcloud.net.cn/plugin?id=271
16
- *
17
- */
18
-
19
- // 通用配置项
20
-
21
- // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性
22
- const color = ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'];
23
-
24
- const cfe = {
25
- //demotype为自定义图表类型
26
- "type": ["pie", "ring", "rose", "funnel", "line", "column", "area", "radar", "gauge","candle","demotype"],
27
- //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型例如最后的"demotype"
28
- "categories": ["line", "column", "area", "radar", "gauge", "candle","demotype"],
29
- //instance为实例变量承载属性,option为eopts承载属性,不要删除
30
- "instance": {},
31
- "option": {},
32
- //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换
33
- "formatter":{
34
- "tooltipDemo1":function(res){
35
- let result = ''
36
- for (let i in res) {
37
- if (i == 0) {
38
- result += res[i].axisValueLabel + '年销售额'
39
- }
40
- let value = '--'
41
- if (res[i].data !== null) {
42
- value = res[i].data
43
- }
44
- // #ifdef H5
45
- result += '\n' + res[i].seriesName + ':' + value + ' 万元'
46
- // #endif
47
-
48
- // #ifdef APP-PLUS
49
- result += '<br/>' + res[i].marker + res[i].seriesName + ':' + value + ' 万元'
50
- // #endif
51
- }
52
- return result;
53
- },
54
- legendFormat:function(name){
55
- return "自定义图例+"+name;
56
- },
57
- yAxisFormatDemo:function (value, index) {
58
- return value + '元';
59
- },
60
- seriesFormatDemo:function(res){
61
- return res.name + '年' + res.value + '元';
62
- }
63
- },
64
- //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在eopts参数,会将demotype与eopts中option合并后渲染图表。
65
- "demotype":{
66
- "color": color,
67
- //在这里填写echarts的option即可
68
-
69
- },
70
- //下面是自定义配置,请添加项目所需的通用配置
71
- "column": {
72
- "color": color,
73
- "title": {
74
- "text": ''
75
- },
76
- "tooltip": {
77
- "trigger": 'axis'
78
- },
79
- "grid": {
80
- "top": 30,
81
- "bottom": 50,
82
- "right": 15,
83
- "left": 40
84
- },
85
- "legend": {
86
- "bottom": 'left',
87
- },
88
- "toolbox": {
89
- "show": false,
90
- },
91
- "xAxis": {
92
- "type": 'category',
93
- "axisLabel": {
94
- "color": '#666666'
95
- },
96
- "axisLine": {
97
- "lineStyle": {
98
- "color": '#CCCCCC'
99
- }
100
- },
101
- "boundaryGap": true,
102
- "data": []
103
- },
104
- "yAxis": {
105
- "type": 'value',
106
- "axisTick": {
107
- "show": false,
108
- },
109
- "axisLabel": {
110
- "color": '#666666'
111
- },
112
- "axisLine": {
113
- "lineStyle": {
114
- "color": '#CCCCCC'
115
- }
116
- },
117
- },
118
- "seriesTemplate": {
119
- "name": '',
120
- "type": 'bar',
121
- "data": [],
122
- "barwidth": 20,
123
- "label": {
124
- "show": true,
125
- "color": "#666666",
126
- "position": 'top',
127
- },
128
- },
129
- },
130
- "line": {
131
- "color": color,
132
- "title": {
133
- "text": ''
134
- },
135
- "tooltip": {
136
- "trigger": 'axis'
137
- },
138
- "grid": {
139
- "top": 30,
140
- "bottom": 50,
141
- "right": 15,
142
- "left": 40
143
- },
144
- "legend": {
145
- "bottom": 'left',
146
- },
147
- "toolbox": {
148
- "show": false,
149
- },
150
- "xAxis": {
151
- "type": 'category',
152
- "axisLabel": {
153
- "color": '#666666'
154
- },
155
- "axisLine": {
156
- "lineStyle": {
157
- "color": '#CCCCCC'
158
- }
159
- },
160
- "boundaryGap": true,
161
- "data": []
162
- },
163
- "yAxis": {
164
- "type": 'value',
165
- "axisTick": {
166
- "show": false,
167
- },
168
- "axisLabel": {
169
- "color": '#666666'
170
- },
171
- "axisLine": {
172
- "lineStyle": {
173
- "color": '#CCCCCC'
174
- }
175
- },
176
- },
177
- "seriesTemplate": {
178
- "name": '',
179
- "type": 'line',
180
- "data": [],
181
- "barwidth": 20,
182
- "label": {
183
- "show": true,
184
- "color": "#666666",
185
- "position": 'top',
186
- },
187
- },
188
- },
189
- "area": {
190
- "color": color,
191
- "title": {
192
- "text": ''
193
- },
194
- "tooltip": {
195
- "trigger": 'axis'
196
- },
197
- "grid": {
198
- "top": 30,
199
- "bottom": 50,
200
- "right": 15,
201
- "left": 40
202
- },
203
- "legend": {
204
- "bottom": 'left',
205
- },
206
- "toolbox": {
207
- "show": false,
208
- },
209
- "xAxis": {
210
- "type": 'category',
211
- "axisLabel": {
212
- "color": '#666666'
213
- },
214
- "axisLine": {
215
- "lineStyle": {
216
- "color": '#CCCCCC'
217
- }
218
- },
219
- "boundaryGap": true,
220
- "data": []
221
- },
222
- "yAxis": {
223
- "type": 'value',
224
- "axisTick": {
225
- "show": false,
226
- },
227
- "axisLabel": {
228
- "color": '#666666'
229
- },
230
- "axisLine": {
231
- "lineStyle": {
232
- "color": '#CCCCCC'
233
- }
234
- },
235
- },
236
- "seriesTemplate": {
237
- "name": '',
238
- "type": 'line',
239
- "data": [],
240
- "areaStyle": {},
241
- "label": {
242
- "show": true,
243
- "color": "#666666",
244
- "position": 'top',
245
- },
246
- },
247
- },
248
- "pie": {
249
- "color": color,
250
- "title": {
251
- "text": ''
252
- },
253
- "tooltip": {
254
- "trigger": 'item'
255
- },
256
- "grid": {
257
- "top": 40,
258
- "bottom": 30,
259
- "right": 15,
260
- "left": 15
261
- },
262
- "legend": {
263
- "bottom": 'left',
264
- },
265
- "seriesTemplate": {
266
- "name": '',
267
- "type": 'pie',
268
- "data": [],
269
- "radius": '50%',
270
- "label": {
271
- "show": true,
272
- "color": "#666666",
273
- "position": 'top',
274
- },
275
- },
276
- },
277
- "ring": {
278
- "color": color,
279
- "title": {
280
- "text": ''
281
- },
282
- "tooltip": {
283
- "trigger": 'item'
284
- },
285
- "grid": {
286
- "top": 40,
287
- "bottom": 30,
288
- "right": 15,
289
- "left": 15
290
- },
291
- "legend": {
292
- "bottom": 'left',
293
- },
294
- "seriesTemplate": {
295
- "name": '',
296
- "type": 'pie',
297
- "data": [],
298
- "radius": ['40%', '70%'],
299
- "avoidLabelOverlap": false,
300
- "label": {
301
- "show": true,
302
- "color": "#666666",
303
- "position": 'top',
304
- },
305
- "labelLine": {
306
- "show": true
307
- },
308
- },
309
- },
310
- "rose": {
311
- "color": color,
312
- "title": {
313
- "text": ''
314
- },
315
- "tooltip": {
316
- "trigger": 'item'
317
- },
318
- "legend": {
319
- "top": 'bottom'
320
- },
321
- "seriesTemplate": {
322
- "name": '',
323
- "type": 'pie',
324
- "data": [],
325
- "radius": "55%",
326
- "center": ['50%', '50%'],
327
- "roseType": 'area',
328
- },
329
- },
330
- "funnel": {
331
- "color": color,
332
- "title": {
333
- "text": ''
334
- },
335
- "tooltip": {
336
- "trigger": 'item',
337
- "formatter": "{b} : {c}%"
338
- },
339
- "legend": {
340
- "top": 'bottom'
341
- },
342
- "seriesTemplate": {
343
- "name": '',
344
- "type": 'funnel',
345
- "left": '10%',
346
- "top": 60,
347
- "bottom": 60,
348
- "width": '80%',
349
- "min": 0,
350
- "max": 100,
351
- "minSize": '0%',
352
- "maxSize": '100%',
353
- "sort": 'descending',
354
- "gap": 2,
355
- "label": {
356
- "show": true,
357
- "position": 'inside'
358
- },
359
- "labelLine": {
360
- "length": 10,
361
- "lineStyle": {
362
- "width": 1,
363
- "type": 'solid'
364
- }
365
- },
366
- "itemStyle": {
367
- "bordercolor": '#fff',
368
- "borderwidth": 1
369
- },
370
- "emphasis": {
371
- "label": {
372
- "fontSize": 20
373
- }
374
- },
375
- "data": [],
376
- },
377
- },
378
- "gauge": {
379
- "color": color,
380
- "tooltip": {
381
- "formatter": '{a} <br/>{b} : {c}%'
382
- },
383
- "seriesTemplate": {
384
- "name": '业务指标',
385
- "type": 'gauge',
386
- "detail": {"formatter": '{value}%'},
387
- "data": [{"value": 50, "name": '完成率'}]
388
- },
389
- },
390
- "candle": {
391
- "xAxis": {
392
- "data": []
393
- },
394
- "yAxis": {},
395
- "color": color,
396
- "title": {
397
- "text": ''
398
- },
399
- "dataZoom": [{
400
- "type": 'inside',
401
- "xAxisIndex": [0, 1],
402
- "start": 10,
403
- "end": 100
404
- },
405
- {
406
- "show": true,
407
- "xAxisIndex": [0, 1],
408
- "type": 'slider',
409
- "bottom": 10,
410
- "start": 10,
411
- "end": 100
412
- }
413
- ],
414
- "seriesTemplate": {
415
- "name": '',
416
- "type": 'k',
417
- "data": [],
418
- },
419
- }
420
- }
421
-
1
+ /*
2
+ * uCharts®
3
+ * 高性能跨平台图表库,支持H5、APP、小程序(微信/支付宝/百度/头条/QQ/360)、Vue、Taro等支持canvas的框架平台
4
+ * Copyright (c) 2021 QIUN®秋云 https://www.ucharts.cn All rights reserved.
5
+ * Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
6
+ * 复制使用请保留本段注释,感谢支持开源!
7
+ *
8
+ * uCharts®官方网站
9
+ * https://www.uCharts.cn
10
+ *
11
+ * 开源地址:
12
+ * https://gitee.com/uCharts/uCharts
13
+ *
14
+ * uni-app插件市场地址:
15
+ * http://ext.dcloud.net.cn/plugin?id=271
16
+ *
17
+ */
18
+
19
+ // 通用配置项
20
+
21
+ // 主题颜色配置:如每个图表类型需要不同主题,请在对应图表类型上更改color属性
22
+ const color = ['#1890FF', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'];
23
+
24
+ const cfe = {
25
+ //demotype为自定义图表类型
26
+ "type": ["pie", "ring", "rose", "funnel", "line", "column", "area", "radar", "gauge","candle","demotype"],
27
+ //增加自定义图表类型,如果需要categories,请在这里加入您的图表类型例如最后的"demotype"
28
+ "categories": ["line", "column", "area", "radar", "gauge", "candle","demotype"],
29
+ //instance为实例变量承载属性,option为eopts承载属性,不要删除
30
+ "instance": {},
31
+ "option": {},
32
+ //下面是自定义format配置,因除H5端外的其他端无法通过props传递函数,只能通过此属性对应下标的方式来替换
33
+ "formatter":{
34
+ "tooltipDemo1":function(res){
35
+ let result = ''
36
+ for (let i in res) {
37
+ if (i == 0) {
38
+ result += res[i].axisValueLabel + '年销售额'
39
+ }
40
+ let value = '--'
41
+ if (res[i].data !== null) {
42
+ value = res[i].data
43
+ }
44
+ // #ifdef H5
45
+ result += '\n' + res[i].seriesName + ':' + value + ' 万元'
46
+ // #endif
47
+
48
+ // #ifdef APP-PLUS
49
+ result += '<br/>' + res[i].marker + res[i].seriesName + ':' + value + ' 万元'
50
+ // #endif
51
+ }
52
+ return result;
53
+ },
54
+ legendFormat:function(name){
55
+ return "自定义图例+"+name;
56
+ },
57
+ yAxisFormatDemo:function (value, index) {
58
+ return value + '元';
59
+ },
60
+ seriesFormatDemo:function(res){
61
+ return res.name + '年' + res.value + '元';
62
+ }
63
+ },
64
+ //这里演示了自定义您的图表类型的option,可以随意命名,之后在组件上 type="demotype" 后,组件会调用这个花括号里的option,如果组件上还存在eopts参数,会将demotype与eopts中option合并后渲染图表。
65
+ "demotype":{
66
+ "color": color,
67
+ //在这里填写echarts的option即可
68
+
69
+ },
70
+ //下面是自定义配置,请添加项目所需的通用配置
71
+ "column": {
72
+ "color": color,
73
+ "title": {
74
+ "text": ''
75
+ },
76
+ "tooltip": {
77
+ "trigger": 'axis'
78
+ },
79
+ "grid": {
80
+ "top": 30,
81
+ "bottom": 50,
82
+ "right": 15,
83
+ "left": 40
84
+ },
85
+ "legend": {
86
+ "bottom": 'left',
87
+ },
88
+ "toolbox": {
89
+ "show": false,
90
+ },
91
+ "xAxis": {
92
+ "type": 'category',
93
+ "axisLabel": {
94
+ "color": '#666666'
95
+ },
96
+ "axisLine": {
97
+ "lineStyle": {
98
+ "color": '#CCCCCC'
99
+ }
100
+ },
101
+ "boundaryGap": true,
102
+ "data": []
103
+ },
104
+ "yAxis": {
105
+ "type": 'value',
106
+ "axisTick": {
107
+ "show": false,
108
+ },
109
+ "axisLabel": {
110
+ "color": '#666666'
111
+ },
112
+ "axisLine": {
113
+ "lineStyle": {
114
+ "color": '#CCCCCC'
115
+ }
116
+ },
117
+ },
118
+ "seriesTemplate": {
119
+ "name": '',
120
+ "type": 'bar',
121
+ "data": [],
122
+ "barwidth": 20,
123
+ "label": {
124
+ "show": true,
125
+ "color": "#666666",
126
+ "position": 'top',
127
+ },
128
+ },
129
+ },
130
+ "line": {
131
+ "color": color,
132
+ "title": {
133
+ "text": ''
134
+ },
135
+ "tooltip": {
136
+ "trigger": 'axis'
137
+ },
138
+ "grid": {
139
+ "top": 30,
140
+ "bottom": 50,
141
+ "right": 15,
142
+ "left": 40
143
+ },
144
+ "legend": {
145
+ "bottom": 'left',
146
+ },
147
+ "toolbox": {
148
+ "show": false,
149
+ },
150
+ "xAxis": {
151
+ "type": 'category',
152
+ "axisLabel": {
153
+ "color": '#666666'
154
+ },
155
+ "axisLine": {
156
+ "lineStyle": {
157
+ "color": '#CCCCCC'
158
+ }
159
+ },
160
+ "boundaryGap": true,
161
+ "data": []
162
+ },
163
+ "yAxis": {
164
+ "type": 'value',
165
+ "axisTick": {
166
+ "show": false,
167
+ },
168
+ "axisLabel": {
169
+ "color": '#666666'
170
+ },
171
+ "axisLine": {
172
+ "lineStyle": {
173
+ "color": '#CCCCCC'
174
+ }
175
+ },
176
+ },
177
+ "seriesTemplate": {
178
+ "name": '',
179
+ "type": 'line',
180
+ "data": [],
181
+ "barwidth": 20,
182
+ "label": {
183
+ "show": true,
184
+ "color": "#666666",
185
+ "position": 'top',
186
+ },
187
+ },
188
+ },
189
+ "area": {
190
+ "color": color,
191
+ "title": {
192
+ "text": ''
193
+ },
194
+ "tooltip": {
195
+ "trigger": 'axis'
196
+ },
197
+ "grid": {
198
+ "top": 30,
199
+ "bottom": 50,
200
+ "right": 15,
201
+ "left": 40
202
+ },
203
+ "legend": {
204
+ "bottom": 'left',
205
+ },
206
+ "toolbox": {
207
+ "show": false,
208
+ },
209
+ "xAxis": {
210
+ "type": 'category',
211
+ "axisLabel": {
212
+ "color": '#666666'
213
+ },
214
+ "axisLine": {
215
+ "lineStyle": {
216
+ "color": '#CCCCCC'
217
+ }
218
+ },
219
+ "boundaryGap": true,
220
+ "data": []
221
+ },
222
+ "yAxis": {
223
+ "type": 'value',
224
+ "axisTick": {
225
+ "show": false,
226
+ },
227
+ "axisLabel": {
228
+ "color": '#666666'
229
+ },
230
+ "axisLine": {
231
+ "lineStyle": {
232
+ "color": '#CCCCCC'
233
+ }
234
+ },
235
+ },
236
+ "seriesTemplate": {
237
+ "name": '',
238
+ "type": 'line',
239
+ "data": [],
240
+ "areaStyle": {},
241
+ "label": {
242
+ "show": true,
243
+ "color": "#666666",
244
+ "position": 'top',
245
+ },
246
+ },
247
+ },
248
+ "pie": {
249
+ "color": color,
250
+ "title": {
251
+ "text": ''
252
+ },
253
+ "tooltip": {
254
+ "trigger": 'item'
255
+ },
256
+ "grid": {
257
+ "top": 40,
258
+ "bottom": 30,
259
+ "right": 15,
260
+ "left": 15
261
+ },
262
+ "legend": {
263
+ "bottom": 'left',
264
+ },
265
+ "seriesTemplate": {
266
+ "name": '',
267
+ "type": 'pie',
268
+ "data": [],
269
+ "radius": '50%',
270
+ "label": {
271
+ "show": true,
272
+ "color": "#666666",
273
+ "position": 'top',
274
+ },
275
+ },
276
+ },
277
+ "ring": {
278
+ "color": color,
279
+ "title": {
280
+ "text": ''
281
+ },
282
+ "tooltip": {
283
+ "trigger": 'item'
284
+ },
285
+ "grid": {
286
+ "top": 40,
287
+ "bottom": 30,
288
+ "right": 15,
289
+ "left": 15
290
+ },
291
+ "legend": {
292
+ "bottom": 'left',
293
+ },
294
+ "seriesTemplate": {
295
+ "name": '',
296
+ "type": 'pie',
297
+ "data": [],
298
+ "radius": ['40%', '70%'],
299
+ "avoidLabelOverlap": false,
300
+ "label": {
301
+ "show": true,
302
+ "color": "#666666",
303
+ "position": 'top',
304
+ },
305
+ "labelLine": {
306
+ "show": true
307
+ },
308
+ },
309
+ },
310
+ "rose": {
311
+ "color": color,
312
+ "title": {
313
+ "text": ''
314
+ },
315
+ "tooltip": {
316
+ "trigger": 'item'
317
+ },
318
+ "legend": {
319
+ "top": 'bottom'
320
+ },
321
+ "seriesTemplate": {
322
+ "name": '',
323
+ "type": 'pie',
324
+ "data": [],
325
+ "radius": "55%",
326
+ "center": ['50%', '50%'],
327
+ "roseType": 'area',
328
+ },
329
+ },
330
+ "funnel": {
331
+ "color": color,
332
+ "title": {
333
+ "text": ''
334
+ },
335
+ "tooltip": {
336
+ "trigger": 'item',
337
+ "formatter": "{b} : {c}%"
338
+ },
339
+ "legend": {
340
+ "top": 'bottom'
341
+ },
342
+ "seriesTemplate": {
343
+ "name": '',
344
+ "type": 'funnel',
345
+ "left": '10%',
346
+ "top": 60,
347
+ "bottom": 60,
348
+ "width": '80%',
349
+ "min": 0,
350
+ "max": 100,
351
+ "minSize": '0%',
352
+ "maxSize": '100%',
353
+ "sort": 'descending',
354
+ "gap": 2,
355
+ "label": {
356
+ "show": true,
357
+ "position": 'inside'
358
+ },
359
+ "labelLine": {
360
+ "length": 10,
361
+ "lineStyle": {
362
+ "width": 1,
363
+ "type": 'solid'
364
+ }
365
+ },
366
+ "itemStyle": {
367
+ "bordercolor": '#fff',
368
+ "borderwidth": 1
369
+ },
370
+ "emphasis": {
371
+ "label": {
372
+ "fontSize": 20
373
+ }
374
+ },
375
+ "data": [],
376
+ },
377
+ },
378
+ "gauge": {
379
+ "color": color,
380
+ "tooltip": {
381
+ "formatter": '{a} <br/>{b} : {c}%'
382
+ },
383
+ "seriesTemplate": {
384
+ "name": '业务指标',
385
+ "type": 'gauge',
386
+ "detail": {"formatter": '{value}%'},
387
+ "data": [{"value": 50, "name": '完成率'}]
388
+ },
389
+ },
390
+ "candle": {
391
+ "xAxis": {
392
+ "data": []
393
+ },
394
+ "yAxis": {},
395
+ "color": color,
396
+ "title": {
397
+ "text": ''
398
+ },
399
+ "dataZoom": [{
400
+ "type": 'inside',
401
+ "xAxisIndex": [0, 1],
402
+ "start": 10,
403
+ "end": 100
404
+ },
405
+ {
406
+ "show": true,
407
+ "xAxisIndex": [0, 1],
408
+ "type": 'slider',
409
+ "bottom": 10,
410
+ "start": 10,
411
+ "end": 100
412
+ }
413
+ ],
414
+ "seriesTemplate": {
415
+ "name": '',
416
+ "type": 'k',
417
+ "data": [],
418
+ },
419
+ }
420
+ }
421
+
422
422
  export default cfe;