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

   ### What problem does this feature solve?
   
   之前有类似的feature
   #18997
   但是dataIndex似乎太鸡肋了,同一series的数据展示的格式大概率是相同的,用不到dataIndex。
   
   而用到seriesIndex的场景会比较多,例如:
   
![image](https://github.com/user-attachments/assets/3594cbf7-fb5d-43f9-8d7e-83dc586bd67f)
   这里的需求是区分不同series:**金额**、**占比**需要展示成**数字**或**百分比**
   
   
![image](https://github.com/user-attachments/assets/ad102e48-8261-44c4-a503-f15fcff722fe)
   
   
   ### What does the proposed API look like?
   
   ``` ts
   valueFormatter: (value: string | number, dataIndex: number, params: 
SeriesModel) => string
   ```


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