Prechádzať zdrojové kódy

折线图增加平滑度

Bella 2 rokov pred
rodič
commit
c2fcc009c2

+ 1 - 0
src/components/business/analysis/cold/BusinessColdChart.vue

@@ -82,6 +82,7 @@ export default {
             name: '能耗比',
             data: [],
             type: 'line',
+            smooth:true,
             yAxisIndex: 1,
             backgroundStyle: {
               color: 'rgba(180, 180, 180, 0.2)'

+ 1 - 0
src/components/business/analysis/pv/BusinessPvChart.vue

@@ -82,6 +82,7 @@ export default {
             name: '能耗比',
             data: [],
             type: 'line',
+            smooth:true,
             yAxisIndex: 1,
             backgroundStyle: {
               color: 'rgba(180, 180, 180, 0.2)'

+ 1 - 0
src/components/dashboard/portrait/money/investDistributeChart.vue

@@ -112,6 +112,7 @@ export default {
             data: [],
             yAxisIndex:1,
             type: 'line',
+            smooth:true,
           }
         ]
       }

+ 1 - 0
src/components/dashboard/portrait/money/investYearChart.vue

@@ -79,6 +79,7 @@ export default {
             stack: 'B',
             yAxisIndex:1,
             type: 'line',
+            smooth:true,
           }
         ]
       }

+ 3 - 0
src/components/life/restaurant/components/lifeRestConsumeChart.vue

@@ -142,6 +142,7 @@ export default {
             name: '早餐单价',
             data: [],
             type: 'line',
+            smooth:true,
             itemStyle: {
               color: '#3AA7E6'
             }
@@ -150,6 +151,7 @@ export default {
             name: '午餐单价',
             data: [],
             type: 'line',
+            smooth:true,
             itemStyle: {
               color: '#4ACFB8'
             }
@@ -158,6 +160,7 @@ export default {
             name: '晚餐单价',
             data: [],
             type: 'line',
+            smooth:true,
             itemStyle: {
               color: '#F4955F'
             }

+ 1 - 0
src/components/life/restaurant/components/lifeRestEatChart.vue

@@ -128,6 +128,7 @@ export default {
             data: [],
             yAxisIndex: 0,
             type: 'line',
+            smooth:true,
             yAxis: 0,
             itemStyle: {
               color: '#FFB059'

+ 1 - 0
src/components/life/supermarket/components/lifeSupermarketAnalysisChart.vue

@@ -164,6 +164,7 @@ export default {
             data: [],
             yAxisIndex:0,
             type: 'line',
+            smooth:true,
           }
         ]
       }