You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "Mingeax (via GitHub)" <gi...@apache.org> on 2023/02/25 07:52:30 UTC

[GitHub] [echarts] Mingeax opened a new issue, #18308: [Feature] TreePathInfo property of sunburst chart label formatter params could be adopt by document and TS

Mingeax opened a new issue, #18308:
URL: https://github.com/apache/echarts/issues/18308

   ### 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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] plainheart closed issue #18308: [Feature] TreePathInfo property of sunburst chart label formatter params could be adopt by document and TS

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #18308: [Feature] TreePathInfo property of sunburst chart label formatter params could be adopt by document and TS
URL: https://github.com/apache/echarts/issues/18308


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org