xianghongai edited a comment on issue #9901: The axis name align way base on x/y axis line ? URL: https://github.com/apache/incubator-echarts/issues/9901#issuecomment-462638115 yAxis `nameTextStyle` `align` is not working, `color` property in working.  ```javascript option = { xAxis: { type: 'category', name: `xAxis very very very very very very very very long`, nameGap: 35, nameLocation: 'end', nameTextStyle: { color: '#00f', fontWeight: 'bolder', align: 'left', verticalAlign: 'left' }, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value', name: `yAxis very very very very very very very very long`, nameGap: 35, nameLocation: 'end', nameTextStyle: { color: '#f00', fontWeight: 'bolder', align: 'right' } }, series: [{ data: [820, 932, 901, 934, 1290, 1330, 1320], type: 'line', smooth: true }] }; ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
