diff --git a/src/views/OperationalOverview/components/linearBarChart.vue b/src/views/OperationalOverview/components/linearBarChart.vue index f166f979..abcd3892 100644 --- a/src/views/OperationalOverview/components/linearBarChart.vue +++ b/src/views/OperationalOverview/components/linearBarChart.vue @@ -1,6 +1,6 @@ @@ -19,7 +19,7 @@ export default { }, className: { type: String, - default: 'chart' + default: 'enChart' }, width: { type: String, @@ -84,7 +84,7 @@ export default { }, methods: { initChart(nameList, dataList) { - console.log('1111', dataList); + // console.log('1111', dataList); // console.log(1) this.chart = echarts.init(document.getElementById(this.id)) // if (dataList.length !== 0) { @@ -123,13 +123,7 @@ export default { type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' } }, - grid: { - top: 30, - left: '2%', - right: '2%', - bottom: '3%', - containLabel: true - }, + grid: { top: 90, right: 60, bottom: 20, left: 90 }, // legend: { // itemWidth: 10, // itemHeight: 10, @@ -205,4 +199,11 @@ export default { } } - + diff --git a/src/views/OperationalOverview/processingBoard.vue b/src/views/OperationalOverview/processingBoard.vue index dcf702b4..22366bf1 100644 --- a/src/views/OperationalOverview/processingBoard.vue +++ b/src/views/OperationalOverview/processingBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2024-03-21 16:07:39 + * @LastEditTime: 2024-03-22 16:40:46 * @Description: -->