prpanto opened a new issue, #20577: URL: https://github.com/apache/echarts/issues/20577
### Version 5.5.1 ### Link to Minimal Reproduction https://example.com/ ### Steps to Reproduce const option = shallowRef<echarts.EChartsCoreOption>({ legend: { type: 'scroll', bottom: '0%', left: 'center', }, polar: { radius: [50, '60%'], startAngle: 90, }, angleAxis: { show: false, }, radiusAxis: { show: false, type: 'category', }, series: { name: 'Meters Overview', type: 'bar', roundCap: true, data: {}, coordinateSystem: 'polar', label: { show: false, }, }, graphic: [ { type: 'text', left: 'center', top: '46%', style: { text: 'TOTAL', textAlign: 'center', fontSize: 22, fontWeight: 'normal', fill: '#6A5ACD', } }, { type: 'text', left: 'center', top: '51%', style: { text: null, textAlign: 'center', fontSize: 22, fontWeight: 'normal', fill: '#6A5ACD', } } ] }) onMounted(async () => { data.value = await fetchData() const chartData = [ { name: 'Alarms', value: data.value.alarms, }, { name: 'Readings', value: data.value.readings, }, { name: 'Smart', value: data.value.smart, }, ] option.value.series.data = chartData option.value.legend.data = chartData option.value.angleAxis.max = data.value.total option.value.graphic[1].style.text = data.value.total }) ### Current Behavior Dont show the legend if series data exist ### Expected Behavior Legend must show on the chart ### Environment ```markdown - OS: Ubuntu - Browser: Firefox - Framework: Nuxt ``` ### Any additional comments? _No response_ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
