helgasoft commented on issue #20575: URL: https://github.com/apache/echarts/issues/20575#issuecomment-2542507697
@Sri-5555, sunburst can have self-adjusting labels when all items have [value](https://echarts.apache.org/en/option.html#series-sunburst.data.value) - [Demo](https://echarts.apache.org/examples/en/editor.html?helgasoft=sunburst+self-adjusting+labels&random=58gr94wyc6&code=CYQwLiAEC8kNoFgBQlIG9IDsQFsCmAXJAOQCCkAjAEwDMALAKwBsA7ABwCcADNcQDSQAbiAA2AV0KQaXSAF8-yVBmz4ixAEKVajJvyGiJRKjPmL0WXJOIBhLTT3DxkiieQBdANzIATiGABLMQBnWDhiYwBSPWJuKM9kILEcWC4vJFAIADocEAAHAApIAA8YAD5zSEScSABqWCLMxwkPOQBKZGQAe1ywf07MGHQzXrARQjQwPCKwAmIgvBEAMwBaPwArYN7MAHNIERAAIwWgvUSDyenZ7zwg_wAvPEgwTsq8PGJTFFfvfxuiRC-SjMqFQYAAnrkrIlMAcxN4gmB-MCQb4AsEFICQRkQBiQSD9kcREQMN5OhBJmoIDs8JheqIPsjZGY3MhZGlFmJMABjXr9SDXYC-ADu-VaQy-QqFg0gODB1gAFiBvGBMts8GAAOr-YBgeWitKoeXy6WyhVKlVqsAACTw_m28rA-rMtzugwAsuB5dl_Jh8pKBEbWgb-d5BgA5JJHbyZXJK-YAMREnXA-XysfheETycdqMCQTgXDcYpqkHTCaTKdzwTgFCLYoA9FRIPWXDIAFQu1qZZ7x_xFPDAfJUINmXK5QZUNse3WZAAKAEk295vC1m_XS9AqIAB4FDpbwP3wk1DnUWkC5_m8XLGzq5ojwsBYq_r66Ct7GkH8QUqYgOazwPP8QRHjMbFMkWTpvAAURALk9WKMp zGRIVtXqRoDDwesqkgNtS3HTC3zwVdkQaAkFlgNBkJ1eUiEogROiA7xFiTIVZjAbxOVvSYGS-WR2i-U1FWVTJ5jAAB5Ho-l9DB5h-P44DQbFZDcNo0iZJBkMwYBOiFTI_GASCgNpAAZT9Jkwfd8mIa4XXeAQBWFVogA). Your example is a multi-level sunburst where only outer-level items have value. In such cases ECharts calculates inner-level item values level-by-level until the entire chart is built. It would be great to know **which internal function** to call (wink-wink, developers 😉) - to get these hidden calculated values. Otherwise it's DIY - a recursive function to calculate all values starting with the outer-level. -- 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]
