Mingeax opened a new issue, #18337: URL: https://github.com/apache/echarts/issues/18337
### What problem does this feature solve? Aiming to display tree structure data, and show the ratio of every data item, sunburst charts should provide both of the information to its label formatter params. But, up to now params still can't receive that, by document. However, actually there is a property 'treePathInfo', which contains the value of the data item and its ancestors. And its length represents the level of data items. Thus we can simply calculate the ratio and get the hierarchy. Unfortunately, both document and TS don't acknowledge it. I don't know what authority's attitude towards this property is, but I hope it can be formal in the future. ### What does the proposed API look like? <img width="225" alt="issue1" src="https://user-images.githubusercontent.com/25583491/221345645-5c001af4-4519-4867-bed9-ef9a39af92f9.png"> <img width="415" alt="issue2" src="https://user-images.githubusercontent.com/25583491/221345652-bf6926e0-2d0b-4cfc-bcc1-ab0a7e1ba63a.png"> -- 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]
