Browse Source

字体改斜

傅行帆 5 years ago
parent
commit
31eaca2566
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/pages/indexEcharts/components/UserSource.jsx

+ 2
- 1
src/pages/indexEcharts/components/UserSource.jsx View File

@@ -42,7 +42,8 @@ const UserSource = (props) => {
42 42
     title: { },
43 43
     xAxis: { 
44 44
               type: 'category',
45
-              data: xData
45
+              data: xData,
46
+              axisLabel: {rotate: 45}
46 47
             },
47 48
     legend: {
48 49
       left: '20%',