apexcharts-card的column要怎么设置才能数据叠加上去?stacked: true只是原位重叠而已,没有叠加数据
type: custom:apexcharts-card
stacked: true
graph_span: 12h
span:
end: hour
show:
last_updated: true
header:
show: true
show_states: true
colorize_states: true
title: 每日电费
series:
- entity: sensor.ju_wei_jin_ri_yong_dian_liang
name: 总表
type: line
stroke_width: 2
color: red
group_by:
func: max
duration: 1h
- entity: sensor.ke_ting_kong_diao_mei_ri_yong_dian_liang
name: 客厅空调
type: column
color: purple
group_by:
func: max
duration: 1h
- entity: sensor.zhu_wo_jin_ri_yong_dian_liang
name: 主卧空调
type: column
color: purple
group_by:
func: max
duration: 1h
- entity: sensor.secondroom_aircondition_date_power
name: 次卧空调
type: column
color: slateblue
group_by:
func: max
duration: 1h
- entity: sensor.readingroom_date_power_consumption
name: 书房空调
type: column
color: slateblue
group_by:
func: max
duration: 1h
- entity: sensor.ke_ting_dian_yuan_cha_zuo_dateyong_dian_liang
name: 客厅电源插座
type: column
color: green
group_by:
func: max
duration: 1h
- entity: sensor.bing_xiang_jin_ri_yong_dian_liang
name: 冰箱
type: column
color: blue
group_by:
func: max
duration: 1h
- entity: sensor.zimi_zncz01_fe85_power_cost_today
name: 洗烘
type: column
color: white
group_by:
func: max
duration: 1h
- entity: sensor.zimi_zncz01_1c5f_power_cost_today
name: 洗碗机
type: column
color: yellow
group_by:
func: max
duration: 1h
|