Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

柱状图问题 #5710

Closed
zhiyou1201 opened this issue Nov 1, 2023 · 1 comment
Closed

柱状图问题 #5710

zhiyou1201 opened this issue Nov 1, 2023 · 1 comment

Comments

@zhiyou1201
Copy link

如何分组展示呢
我的数据格式是这样的
[
{
"date_times": "2023-10-30", // 日期
"ps_sale_total_price": 2377.6, // 配送金额
"cost_money": 635, // 成本金额
"lirun_price": 343 // 利润金额
},
{
"date_times": "2023-10-31",
"ps_sale_total_price": 0,
"cost_money": 0,
"lirun_price": 0
},
{
"date_times": "2023-11-01",
"ps_sale_total_price": 0,
"cost_money": 0,
"lirun_price": 0
},
{
"date_times": "2023-11-02",
"ps_sale_total_price": 0,
"cost_money": 0,
"lirun_price": 0
}
]
每个时间 展示三个 配送金额 成本金额 利润金额
网站的例子我看数据格式跟我不一样 我无法搞定跟我这样数据格式的怎么写
image

最终效果要这样的
image

@pearmini
Copy link
Member

pearmini commented Nov 1, 2023

fold transform

@antvis antvis locked and limited conversation to collaborators Nov 1, 2023
@pearmini pearmini converted this issue into discussion #5711 Nov 1, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants