update 产线缺陷
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user