YY 2 年之前
父节点
当前提交
76e5327a20
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      pages/schAdmin/stustat/list.js

+ 6 - 1
pages/schAdmin/stustat/list.js

@@ -43,10 +43,15 @@ Page({
     canvas.setChart(chart);
     var option = {
       backgroundColor: "#ffffff",
+      legend: {
+        orient: 'vertical',
+        height: 40,
+        padding: 50
+      },
       series: [{
         label: {
           normal: {
-            fontSize: 14,
+            fontSize: 16,
           }
         },
         type: 'pie',