ly 3 tahun lalu
induk
melakukan
49c685df97

+ 12 - 2
ui/src/views/monitor/elec/center.vue

@@ -166,11 +166,13 @@ export default {
           id: "centerRate0",
           tips: parseInt(this.dashboardelecdata.mwhWr),
           colorData: {
-            textStyle: "#3fc0fb",
+            fontSize: 25,
+            textStyle: "#3f83ff",
             series: {
+              radius: ["60%", "95%", "85%", "90%"],
               color: ["#00bcd44a", "transparent"],
               dataColor: {
-                normal: "#03a9f4",
+                normal: "#528cff",
                 shadowColor: "#97e2f5"
               }
             }
@@ -180,8 +182,10 @@ export default {
           id: "centerRate1",
           tips: parseInt(this.dashboardelecdata.stg1Wr),
           colorData: {
+            fontSize: 23,
             textStyle: "#3fc0fb",
             series: {
+              radius: ["65%", "85%", "85%", "90%"],
               color: ["#00bcd44a", "transparent"],
               dataColor: {
                 normal: "#03a9f4",
@@ -194,8 +198,10 @@ export default {
           id: "centerRate2",
           tips: parseInt(this.dashboardelecdata.gtg3Wr),
           colorData: {
+            fontSize: 23,
             textStyle: "#67e0e3",
             series: {
+              radius: ["65%", "85%", "85%", "90%"],
               color: ["#faf3a378", "transparent"],
               dataColor: {
                 normal: "#ff9800",
@@ -208,8 +214,10 @@ export default {
           id: "centerRate3",
           tips: parseInt(this.dashboardelecdata.gtg2Wr),
           colorData: {
+            fontSize: 23,
             textStyle: "#67e0e3",
             series: {
+              radius: ["65%", "85%", "85%", "90%"],
               color: ["rgba(196,163,250,0.47)", "transparent"],
               dataColor: {
                 normal: "#9d00ff",
@@ -222,8 +230,10 @@ export default {
           id: "centerRate4",
           tips: parseInt(this.dashboardelecdata.gtg1Wr),
           colorData: {
+            fontSize: 23,
             textStyle: "#67e0e3",
             series: {
+              radius: ["65%", "85%", "85%", "90%"],
               color: ["rgba(163,250,177,0.47)", "transparent"],
               dataColor: {
                 normal: "#00ff0d",

+ 2 - 2
ui/src/views/monitor/elec/echart/center/centerChartRate.vue

@@ -58,14 +58,14 @@ export default {
             y: "center",
             textStyle: {
               color: this.colorObj.textStyle,
-              fontSize: 20
+              fontSize: this.colorObj.fontSize
             }
           }
         ],
         series: [
           {
             type: "pie",
-            radius: ["75%", "80%", "85%", "90%"],
+            radius: this.colorObj.series.radius,
             center: ["50%", "50%", "50%", "50%"],
             hoverAnimation: false,
             color: this.colorObj.series.color,