Explorar el Código

feat: 弧形图自动轮播

@dayan_hjm hace 2 años
padre
commit
6530b52034
Se han modificado 1 ficheros con 7 adiciones y 10 borrados
  1. 7 10
      src/pages/tqcDataVHome/component/leftMenoyView.jsx

+ 7 - 10
src/pages/tqcDataVHome/component/leftMenoyView.jsx

@@ -2,7 +2,7 @@
2 2
  * @Author: dayan_hjm 库存金额
3 3
  * @Date: 2023-10-23 09:32:12 
4 4
  * @Last Modified by: dayan_hjm
5
- * @Last Modified time: 2023-10-30 11:24:04
5
+ * @Last Modified time: 2023-10-30 15:03:36
6 6
  */
7 7
 
8 8
 
@@ -254,20 +254,11 @@ class LeftMenoyView extends Component {
254 254
             marginTop: 15,
255 255
           },
256 256
         },
257
-
258 257
         tooltip: {
259 258
           trigger: 'item',
260 259
           formatter: "{b} : {c} ({d}%)"
261 260
         },
262 261
 
263
-        visualMap: {
264
-          show: false,
265
-          min: 500,
266
-          max: 600,
267
-          inRange: {
268
-            //colorLightness: [0, 1]
269
-          }
270
-        },
271 262
         series: [{
272 263
           name: '访问来源',
273 264
           type: 'pie',
@@ -299,6 +290,8 @@ class LeftMenoyView extends Component {
299 290
             value: 310,
300 291
             name: '邮件营销',
301 292
             itemStyle: {
293
+              borderCap:'round',
294
+
302 295
               normal: {
303 296
                 color: {
304 297
                   // 完成的圆环的颜色
@@ -320,6 +313,8 @@ class LeftMenoyView extends Component {
320 313
             value: 234,
321 314
             name: '联盟广告',
322 315
             itemStyle: {
316
+              borderCap:'round',
317
+
323 318
               normal: {
324 319
                 color: {
325 320
                   // 完成的圆环的颜色
@@ -341,6 +336,8 @@ class LeftMenoyView extends Component {
341 336
             value: 135,
342 337
             name: '视频广告学习相',
343 338
             itemStyle: {
339
+              borderCap:'round',
340
+
344 341
               normal: {
345 342
                 barBorderRadius: 15,
346 343
                 color: {