echarts
echarts copied to clipboard
yaxis name alignment fail
One-line summary [问题简述]
It seems always be 'center' no matter what value I set for yAxis.nameTextStyle.align
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]: 4.1.0
- Browser version [浏览器类型和版本]: 66.0.3359.181
- OS Version [操作系统类型和版本]: Windows 7
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value',
name: 'WWW',
nameTextStyle: {
color: 'red',
align: 'left', //the setting is failed
}
},
series: [{
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: 'line'
}]
};
Other comments [其他信息]
Have the same problem ECharts version [ECharts 版本]: 4.0.4
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
Fixed since 4.3.0.