Authored by wangtao

Merge branch 'master-500-dev' of http://113.200.75.45:82/monitor_v3/anji-plus-re…

…port into master-500-dev
@@ -212,7 +212,7 @@ export default { @@ -212,7 +212,7 @@ export default {
212 212
213 if(seriesCapacityData.length>0){ 213 if(seriesCapacityData.length>0){
214 series.push({ 214 series.push({
215 - type:'line', 215 + type:'bar',
216 name:'容量', 216 name:'容量',
217 data:seriesCapacityData 217 data:seriesCapacityData
218 }) 218 })
@@ -724,7 +724,7 @@ export const monitorCustomBarLineChart = { @@ -724,7 +724,7 @@ export const monitorCustomBarLineChart = {
724 label: '', 724 label: '',
725 name: 'customColor', 725 name: 'customColor',
726 required: false, 726 required: false,
727 - value: [{color: '#3b91ff'}, {color: '#2c2f90'}, {color: '#ff1111'}], 727 + value: [{color: '#FF795D'}, {color: '#24AAFF'}, {color: '#ff1111'}],
728 }, 728 },
729 ], 729 ],
730 }, 730 },
@@ -89,7 +89,7 @@ export default { @@ -89,7 +89,7 @@ export default {
89 }, 89 },
90 { 90 {
91 name: "", 91 name: "",
92 - type: "line", 92 + type: "bar",
93 yAxisIndex: 1, 93 yAxisIndex: 1,
94 data: [], 94 data: [],
95 itemStyle: {} 95 itemStyle: {}
@@ -621,6 +621,7 @@ export default { @@ -621,6 +621,7 @@ export default {
621 barBorderRadius: null 621 barBorderRadius: null
622 } 622 }
623 item.barMinHeight=2; 623 item.barMinHeight=2;
  624 + item.stack='total';
624 //切换页面后bar的宽度改变 625 //切换页面后bar的宽度改变
625 item.barWidth = this.optionsSetup.maxWidth; 626 item.barWidth = this.optionsSetup.maxWidth;
626 }else if(item.type=='line'){ 627 }else if(item.type=='line'){