seimin %!s(int64=2) %!d(string=hai) anos
pai
achega
c392b9362c
Modificáronse 1 ficheiros con 26 adicións e 8 borrados
  1. 26 8
      assets/js/controllers/report/servicePerformanceCtrl.js

+ 26 - 8
assets/js/controllers/report/servicePerformanceCtrl.js

@@ -382,6 +382,24 @@ app.controller("servicePerformanceCtrl", [
382 382
       });
383 383
       myChart.hideLoading();
384 384
       option = {
385
+        title: {
386
+          text: "处理工单总数",
387
+          // subtext: datas.pieChartSum,
388
+          // textAlign: "center",
389
+          textStyle: {
390
+            color: "#333",
391
+            fontSize: 16,
392
+            align: 'center',
393
+          },
394
+          // subtextStyle: {
395
+          //   fontSize: 14,
396
+          //   color: ["#005395"],
397
+          //   fontWeight: "bolder",
398
+          //   // align: 'center'
399
+          // },
400
+          // x: "34.5%",
401
+          // y: "50%",
402
+        },
385 403
         tooltip: {
386 404
           trigger: "axis",
387 405
           axisPointer: {
@@ -389,18 +407,18 @@ app.controller("servicePerformanceCtrl", [
389 407
             type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
390 408
           },
391 409
         },
392
-        legend: {
393
-          data: name,
394
-          align: "left",
395
-          // itemWidth:10,
396
-          // itemHeight:10,
397
-          bottom: 0,
398
-        },
410
+        // legend: {
411
+        //   data: name,
412
+        //   align: "left",
413
+        //   // itemWidth:10,
414
+        //   // itemHeight:10,
415
+        //   bottom: 0,
416
+        // },
399 417
         grid: {
400 418
           top: "15%",
401 419
           left: "2%",
402 420
           right: "1.5%",
403
-          bottom: "15%",
421
+          bottom: "5%",
404 422
           containLabel: true,
405 423
         },
406 424
         xAxis: [