张涛 2 år sedan
förälder
incheckning
6cb258f519
2 ändrade filer med 6 tillägg och 0 borttagningar
  1. 3
    0
      src/components/Bar/index.jsx
  2. 3
    0
      src/components/BarPerson/index.jsx

+ 3
- 0
src/components/Bar/index.jsx Visa fil

@@ -55,6 +55,9 @@ export default (props) => {
55 55
         data: dataX,
56 56
         axisLabel: { interval: 0, rotate: 40 },
57 57
         name: '合作社',
58
+        nameTextStyle: {
59
+          padding: [0, 20],
60
+        },
58 61
       },
59 62
       yAxis: [
60 63
         {

+ 3
- 0
src/components/BarPerson/index.jsx Visa fil

@@ -55,6 +55,9 @@ export default (props) => {
55 55
         data: dataX,
56 56
         axisLabel: { interval: 0, rotate: 40 },
57 57
         name: '合作社',
58
+        nameTextStyle: {
59
+          padding: [0, 20],
60
+        },
58 61
       },
59 62
       yAxis: [
60 63
         {