Mingeax commented on issue #16894:
URL: https://github.com/apache/echarts/issues/16894#issuecomment-1457555071

   It seems that the data option must be specified in legend with some kinds of 
charts, and the name option in series too. 
   
   Example: 
   
![image](https://user-images.githubusercontent.com/25583491/223327343-9180b75c-2bc9-4ab9-a79e-59636d998349.png)
   ```
     legend: {
       data: ['relative']
     },
     series: {
       name: 'relative',
       type: 'sunburst',
       data: data,
       radius: [0, '90%'],
       label: {
         rotate: 'radial'
       }
     }
   ```
   
[https://echarts.apache.org/examples/zh/editor.html?c=sunburst-visualMap](url)


-- 
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]

Reply via email to