catkinmu opened a new issue #15517: URL: https://github.com/apache/echarts/issues/15517
### Version 5.1.2 ### Steps to reproduce 1、config bar polar And series[0].data[0]=0 2、chage series[0].data[0]=any Number ### What is expected? Draw clockwise ### What is actually happening? Draw counterclockwise --- ``` option = { title: [ { text: '0', x: 'center', top: '48%', }, ], polar: { radius: ['65%', '80%'], center: ['50%', '50%'], }, angleAxis: { max: 100, clockwise: true, axisLine: { show: true, }, }, radiusAxis: { type: 'category', show: true, }, series: [ { name: '', type: 'bar', roundCap: true, showBackground: true, backgroundStyle: { color: 'rgba(180, 180, 180, 0.2)', }, // 此处为0时异常,不为0 则是正常的 data: [0], coordinateSystem: 'polar', }, ], }; setInterval(function () { option.series[0].data[0] = (Math.random() * 100).toFixed(2) - 0; option.title[0].text = option.series[0].data[0]; myChart.setOption(option, true); }, 2000); ``` <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE --> <!-- This issue is in English. DO NOT REMOVE --> -- 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. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org