echarts
echarts copied to clipboard
[Feature] 汇总表中自定义合计的算法
What problem does this feature solve?
例如有一个表格,第一列为某个数据,第二列为另一个数据,前两个数据都是从数据库中读取的,第三列为前两列的数据的比值。在这个表格的底部有一个“合计”,合计的第三列应该为前两列合计的比值,但是目前是把第三列的所有数值都加了起来。这显然是不对的。我们应当改进对于百分比合计的功能。
What does the proposed API look like?
无
@LI-Mingyu It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
BODY
What problem does this feature solve?
For example, there is a table where the first column is a certain data, the second column is another data, the first two data are read from the database, and the third column is the ratio of the data in the first two columns. At the bottom of this table there is a "total", and the third column of the total should be the ratio of the first two columns, but for now all the values in the third column are added. This is clearly not true. We should improve the functionality for percentage summing.
What does the proposed API look like?
not
I'm not sure how this relates Apache ECharts features. It seems like you need to do some calculation with the data before passing it into ECharts.