Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 汇总表中自定义合计的算法 #19846

Open
LI-Mingyu opened this issue Apr 18, 2024 · 2 comments
Open

[Feature] 汇总表中自定义合计的算法 #19846

LI-Mingyu opened this issue Apr 18, 2024 · 2 comments
Labels
new-feature pending We are not sure about whether this is a bug/new feature. waiting-for: author

Comments

@LI-Mingyu
Copy link

What problem does this feature solve?

例如有一个表格,第一列为某个数据,第二列为另一个数据,前两个数据都是从数据库中读取的,第三列为前两列的数据的比值。在这个表格的底部有一个“合计”,合计的第三列应该为前两列合计的比值,但是目前是把第三列的所有数值都加了起来。这显然是不对的。我们应当改进对于百分比合计的功能。

What does the proposed API look like?

@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label Apr 18, 2024
Copy link

echarts-bot bot commented Apr 18, 2024

@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

@Ovilia
Copy link
Contributor

Ovilia commented Apr 18, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature pending We are not sure about whether this is a bug/new feature. waiting-for: author
Projects
None yet
Development

No branches or pull requests

2 participants