소스 검색

调整图表样式

wangzhe 9 달 전
부모
커밋
b45c9a2dd1
1개의 변경된 파일23개의 추가작업 그리고 4개의 파일을 삭제
  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: [
             {