vincerubinetti commented on issue #19003: URL: https://github.com/apache/echarts/issues/19003#issuecomment-2596379569
This is really really important and should be strongly evaluated for [version 6](https://github.com/apache/echarts/issues/19959). Here's an example. I have a sunburst chart, and I want to implement my own breadcrumbs when the user clicks on a slice: ``` chart.on("click", (params: SunburstDataParams) => { // get tree path params.treePathInfo.map(node => node.name).filter(Boolean) }); ``` `SunburstDataParams` has the correct `treePathInfo` structure defined in `echarts/types/dist/shared.d.ts`, but oh no, it's not exported :( I can't even extract it from another type that is exported, as far as I can tell, and even if I could, I'd need to really dig through the source code every time I need to do something like this. -- 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]
