Kaynağa Gözat

调整图表样式

wangzhe 9 ay önce
ebeveyn
işleme
b45c9a2dd1
1 değiştirilmiş dosya ile 23 ekleme ve 4 silme
  1. 23 4
      src/views/zdsz/bigscreen/index.vue

+ 23 - 4
src/views/zdsz/bigscreen/index.vue

@@ -344,6 +344,7 @@
       },
       batchInitData(){
         batchInitData().then(res => {
+          this.$modal.msgSuccess("数据刷新成功!")
         })
       },
       echartsLeft_1(data){
@@ -813,12 +814,21 @@
             right: "2%",
             bottom: "15%"
           },
+          tooltip: {
+            show: true
+          },
           xAxis: {
             type: 'category',
-            data: names
+            data: names,
+            axisLabel: {
+              color: '#fff'
+            }
           },
           yAxis: {
-            type: 'value'
+            type: 'value',
+            axisLabel: {
+              color: '#fff'
+            }
           },
           series: [
             {
@@ -844,12 +854,21 @@
             right: "2%",
             bottom: "15%"
           },
+          tooltip: {
+            show: true
+          },
           xAxis: {
             type: 'category',
-            data: names
+            data: names,
+            axisLabel: {
+              color: '#fff'
+            }
           },
           yAxis: {
-            type: 'value'
+            type: 'value',
+            axisLabel: {
+              color: '#fff'
+            }
           },
           series: [
             {