YY 2 years ago
parent
commit
5f3a19293e
1 changed files with 4 additions and 3 deletions
  1. 4 3
      pagesSchool/schAdmin/stat/income.js

+ 4 - 3
pagesSchool/schAdmin/stat/income.js

@@ -74,13 +74,14 @@ Page({
             // legend: { data: [] },
             // legend: { data: [] },
             grid: {
             grid: {
                 left: 20,
                 left: 20,
-                right: 60,
-                bottom: 15,
-                top: 40,
+                right: 40,
+                bottom: 35,
+                top: 10,
                 containLabel: true
                 containLabel: true
             },
             },
             xAxis: [{
             xAxis: [{
                 type: 'value',
                 type: 'value',
+                splitNumber : 6,
                 axisLine: { lineStyle: { color: '#999' } },
                 axisLine: { lineStyle: { color: '#999' } },
                 axisLabel: { color: '#666', formatter: '{value} 元' }
                 axisLabel: { color: '#666', formatter: '{value} 元' }
             }],
             }],