|
@@ -505,8 +505,10 @@ export default {
|
|
text: yTitleText,
|
|
text: yTitleText,
|
|
align: 'high',
|
|
align: 'high',
|
|
rotation: 0,
|
|
rotation: 0,
|
|
- y: -15,
|
|
|
|
- offset: 0,
|
|
|
|
|
|
+ y: -12,
|
|
|
|
+ x: 0,
|
|
|
|
+ textAlign: 'left',
|
|
|
|
+ reserveSpace: false,
|
|
style:yTitleStyle
|
|
style:yTitleStyle
|
|
},
|
|
},
|
|
labels: {
|
|
labels: {
|
|
@@ -607,8 +609,10 @@ export default {
|
|
!this.chartInfo.UnitEn && this.chartInfo.Unit && this.chartInfo.Unit!='无' ? '英文单位':this.chartInfo.UnitEn,
|
|
!this.chartInfo.UnitEn && this.chartInfo.Unit && this.chartInfo.Unit!='无' ? '英文单位':this.chartInfo.UnitEn,
|
|
align: 'high',
|
|
align: 'high',
|
|
rotation: 0,
|
|
rotation: 0,
|
|
- y: -15,
|
|
|
|
- offset: -(12 * this.chartInfo.Unit.length),
|
|
|
|
|
|
+ y: -12,
|
|
|
|
+ x: 0,
|
|
|
|
+ textAlign: 'left',
|
|
|
|
+ reserveSpace: false,
|
|
},
|
|
},
|
|
max: Number(this.chartInfo.MaxValue),
|
|
max: Number(this.chartInfo.MaxValue),
|
|
min: Number(this.chartInfo.MinValue),
|
|
min: Number(this.chartInfo.MinValue),
|
|
@@ -648,8 +652,10 @@ export default {
|
|
!this.chartInfo.UnitEn && this.chartInfo.Unit && this.chartInfo.Unit!='无' ? '英文单位':this.chartInfo.UnitEn,
|
|
!this.chartInfo.UnitEn && this.chartInfo.Unit && this.chartInfo.Unit!='无' ? '英文单位':this.chartInfo.UnitEn,
|
|
align: 'high',
|
|
align: 'high',
|
|
rotation: 0,
|
|
rotation: 0,
|
|
- y: -15,
|
|
|
|
- offset: -(12 * this.chartInfo.Unit.length),
|
|
|
|
|
|
+ y: -12,
|
|
|
|
+ x: 0,
|
|
|
|
+ textAlign: 'left',
|
|
|
|
+ reserveSpace: false,
|
|
},
|
|
},
|
|
max: Number(this.chartInfo.MaxValue),
|
|
max: Number(this.chartInfo.MaxValue),
|
|
min: Number(this.chartInfo.MinValue),
|
|
min: Number(this.chartInfo.MinValue),
|