This commit is contained in:
helloDy
2024-06-17 09:00:07 +08:00
parent 0a10b7f177
commit 2d49bfe10e
7 changed files with 142 additions and 161 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-11-06 15:15:30
* @LastEditTime: 2024-06-07 14:15:00
* @LastEditTime: 2024-06-14 10:55:21
* @LastEditors: DY
* @Description:
-->
@@ -308,7 +308,7 @@ export default {
this.equipmentLineChart = echarts.init(this.$refs['equipmentLine'])
this.equipmentLineChart.setOption({
title: {
text: '制品分布',
text: '制品分布',
left: 'center'
// subtext: 'Fake Data'
},
@@ -339,7 +339,7 @@ export default {
{
data: yAxisList,
type: 'bar',
barWidth: '40px'
barWidth: '50%'
}
]
}, true)
@@ -351,6 +351,9 @@ export default {
text: '历史趋势',
left: 'center' // 设置标题居中
},
tooltip: {
trigger: 'item'
},
xAxis: {
type: 'category',
data: xAxisList,