|
@@ -392,7 +392,7 @@ const setSplineOpt=(data)=>{
|
|
align: 'high',
|
|
align: 'high',
|
|
rotation: 0,
|
|
rotation: 0,
|
|
y: -15,
|
|
y: -15,
|
|
- x: [0,2].includes(item.IsAxis) ? -MaxlabelLen*10 : MaxlabelLen*10,
|
|
|
|
|
|
+ textAlign: item.IsAxis===1 ? 'left' : 'right',
|
|
reserveSpace: false
|
|
reserveSpace: false
|
|
},
|
|
},
|
|
opposite: [0,2].includes(item.IsAxis),
|
|
opposite: [0,2].includes(item.IsAxis),
|
|
@@ -589,7 +589,7 @@ const setStackOrCombinChart = data => {
|
|
align: 'high',
|
|
align: 'high',
|
|
rotation: 0,
|
|
rotation: 0,
|
|
y: -15,
|
|
y: -15,
|
|
- x: [0,2].includes(item.IsAxis) ? -MaxlabelLen*10 : MaxlabelLen*10,
|
|
|
|
|
|
+ textAlign: item.IsAxis===1 ? 'left' : 'right',
|
|
reserveSpace: false
|
|
reserveSpace: false
|
|
},
|
|
},
|
|
opposite: [0,2].includes(item.IsAxis),
|
|
opposite: [0,2].includes(item.IsAxis),
|