outaozhen 4 лет назад
Родитель
Сommit
cf5000973f
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/pages/Statistic/Software/Usage/index.jsx

+ 2 - 0
src/pages/Statistic/Software/Usage/index.jsx

@@ -150,6 +150,7 @@ const Usage = () => {
     angleField: 'value',
     colorField: 'label',
     radius: 0.9,
+    color: ['#40B7E6', '#35E667', '#E6E035', '#E63065'],
     interactions: [{ type: 'element-active' }]
   }
   const rightConfig = {
@@ -158,6 +159,7 @@ const Usage = () => {
     angleField: 'value',
     colorField: 'label',
     radius: 0.9,
+    color: ['#40B7E6', '#35E667', '#E6E035', '#E63065'],
     interactions: [{ type: 'element-active' }]
   }