소스 검색

style: 图表颜色调整

outaozhen 4 년 전
부모
커밋
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' }]
   }