antvis/G2

柱状图问题 #5710

zhiyou1201 posted onGitHub

如何分组展示呢 我的数据格式是这样的 [ { "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


posted by pearmini over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests