update 产线缺陷

This commit is contained in:
lb
2022-11-24 13:38:53 +08:00
parent f37dfbb328
commit 3db6ac92fe
3 changed files with 19 additions and 139 deletions

View File

@@ -159,7 +159,7 @@ export default {
option: {
grid: {
left: '10%',
top: 48,
top: 72,
bottom: 28
},
xAxis: {
@@ -195,13 +195,14 @@ export default {
type: 'value',
// min: -25,
min: this.extraSpaceBetweenZero * -1,
name: this.unitName,
name: this.unitName + ' ',
nameTextStyle: {
color: '#fff8',
fontSize: 8,
fontSize: 12,
verticalAlign: 'top',
align: 'right'
},
nameGap: 20,
axisLine: {
show: true,
lineStyle: {
@@ -210,7 +211,7 @@ export default {
},
axisLabel: {
color: '#fff8',
fontSize: 10,
fontSize: 12,
/** y轴不从0开始也可以用 xAxis 向下 offset 的方式模拟 **/
formatter: function(value, index) {
if (value < 0) {