You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/05/06 16:42:32 UTC

[GitHub] [echarts] akiori opened a new issue #14882: wrong aggregated value of two custom aggregate examples

akiori opened a new issue #14882:
URL: https://github.com/apache/echarts/issues/14882


   ### Version
   5.1.1
   
   ### Reproduction link
   [https://echarts.apache.org/examples/en/editor.html?c=custom-aggregate-scatter-pie](https://echarts.apache.org/examples/en/editor.html?c=custom-aggregate-scatter-pie)
   
   ### Steps to reproduce
   open both links: https://echarts.apache.org/examples/en/editor.html?c=custom-aggregate-scatter-bar 
    and https://echarts.apache.org/examples/en/editor.html?c=custom-aggregate-scatter-pie. by checking the raw dataset, I found that both cases show wrong aggregated "COUNT "value by grouping data items using the attribute "M_TAG". 
   这两个案例是同一个数据集, 在根据M_TAG分组后, 计算每组内数据项的COUNT维度的值的和. 然而, 鼠标悬浮在甜甜圈图上便可以看到每组的求和值, 我发现该值与我根据原始数据手动计算的有出入, MA MD两组都少算了该组第一个元素的值.  我console.log了mTagSum_dataset的值发现这个就已经是错的了.
   
   ### What is expected?
   a correct sum value of each group
   
   ### What is actually happening?
   the 'COUNT' value of the first item of each group is not added in the aggregated result. 
   
   ---
   个人怀疑是ecSimpleTransform有点问题.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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

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] echarts-bot[bot] commented on issue #14882: wrong aggregated value of two custom aggregate examples

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14882:
URL: https://github.com/apache/echarts/issues/14882#issuecomment-833675737






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

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