OnlyAttacker edited a comment on issue #5346:
URL: https://github.com/apache/echarts/issues/5346#issuecomment-288963582
分析了一下代码发现axisName的nameRotate属性是不是根据axisName的中心做的旋转,所以使用nameRotate:0.1来做一下旋转就可以使axisName居左显示。
```js
option = {
yAxis: {
min: 0,
max: 40,
type: 'value',
left: 0,
axisLine: {onZero: false},
**nameRotate:0.1,//使用这个属性**
name: "名字很长很长很长很长很长很长很长很长很长很长很长很长",
nameLoaction: "center"
},
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]