echarts icon indicating copy to clipboard operation
echarts copied to clipboard

yaxis name alignment fail

Open wyrj opened this issue 8 years ago • 4 comments

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 [其他信息]

wyrj avatar Jun 01 '18 04:06 wyrj

Have the same problem ECharts version [ECharts 版本]: 4.0.4

xellafe avatar Oct 22 '18 09:10 xellafe

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.

stale[bot] avatar Dec 25 '20 14:12 stale[bot]

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!

github-actions[bot] avatar Sep 03 '21 21:09 github-actions[bot]

Fixed since 4.3.0.

Ovilia avatar Sep 10 '21 07:09 Ovilia