Pārlūkot izejas kodu

Merge branch 'master' of ssh://94.191.59.107:10222/wukai/dayun-ui

“yueshang” 1 gadu atpakaļ
vecāks
revīzija
b99ac325c3
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      src/views/dashboard/twinChart.vue

+ 3 - 2
src/views/dashboard/twinChart.vue

@@ -33,7 +33,7 @@ export default {
         this.initChart();
       });
     });
-    
+
   },
   beforeDestroy() {
     if (this.chart) {
@@ -116,6 +116,7 @@ export default {
         yAxis: [
           {
             // type: "category",
+            inverse: true,//数据倒置
             data: xAxisData,
             axisTick: {
               show: false, // 隐藏刻度线
@@ -203,4 +204,4 @@ export default {
     },
   },
 };
-</script>
+</script>