I am trying to create a stacked area graph, using the latest apexcharts-card.
The problem I experience is that the area graphs are plotted on top of each other, not stacked. All areas extend down to the bottom of the graph.
I use this code:
- type: custom:apexcharts-card
graph_span: 3h
stacked: true
series:
- entity: sensor.electricity
attribute: gfx-baseline
name: ''
type: area
color: 'gray'
opacity: 0.3
stroke_width: 0
- entity: sensor.electricity
attribute: gfx-consumption
name: ''
type: area
color: 'green'
opacity: 0.3
stroke_width: 0
- entity: sensor.electricity
attribute: gfx-red
name: ''
type: area
color: 'red'
opacity: 0.3
stroke_width: 0
Isn’t it possible to stack area graphs?