当数据中存在多个具有相同行列且值相同时,s2会忽略其余相同值的行数据,导致数值列合计信息不对 #2820
-
有相同行列且值相同时,数值合计纸和笔应该分别为2,合计数应该为4,但结果显示的为2 ` <title>浏览器引入</title>
<script src="https://unpkg.com/@antv/[email protected]/dist/index.min.js"></script>
<script>
var datas = [
{
province: "浙江",
city: "杭州",
type: "笔",
price: "1"
},
{
province: "浙江",
city: "杭州",
type: "笔",
price: "1"
},
{
province: "浙江",
city: "舟山",
type: "纸张",
price: "1"
},
{
province: "浙江",
city: "舟山",
type: "纸张",
price: "1"
},
]
|
Beta Was this translation helpful? Give feedback.
Answered by
lijinke666
Jul 17, 2024
Replies: 1 comment
-
可参考: #2767 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
acduan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
可参考: #2767 (comment)