apexcharts-card: `stacked: true` not working anymore
Checklist
- I updated the card to the latest version available
- I cleared the cache of my browser
- I verified that I’m really running the lastest version in my browser console
- I checked if there is another issue opened with the same problem
Describe the bug
Stacking bar charts is not working anymore
Version of the card Version: v2.1.2 (i’ve switched to it yesterday through HACS)
To Reproduce This is the configuration I used:
type: custom:apexcharts-card
graph_span: 12months
span:
end: month
cache: true
update_interval: 24h
stacked: true
header:
show: true
title: Suivi énergétique H&T (kWh/month)
standard_format: true
apex_config:
chart:
height: 400px
yaxis:
- decimals: 0
min: -900
max: 400
apex_config:
tickAmount: 13
forceNiceScale: true
axisTicks:
show: false
all_series_config:
type: column
unit: kWh
float_precision: 2
show:
legend_value: false
statistics:
type: sum
period: month
align: middle
group_by:
func: diff
duration: 1month
start_with_last: true
fill: last
series:
- entity: sensor.circuit_climatisation_energy
name: PAC
- entity: sensor.chauffage_energy
name: Chauffage
- entity: sensor.deshumidificateur_salon_energy
name: Déshumidificateur Salon
- entity: sensor.deshumidificateur_chambre_energy
name: Déshumidificateur Chambre
- entity: sensor.deshumidificateur_etage_energy
name: Déshumidificateur Étage
- entity: sensor.home_consumed_energy
name: Consommation totale
color: lightgrey
invert: true
Screenshots
Expected behavior These bars were stacked before
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 22
Hi all
same here. Switching back to 2.0.4 & everything runs smooth.
With 2.1.2, removing the following solves the problem (ie: stack is properly working):
Moving the yaxis setting under apex_config section makes stack working, but yaxis not working (max is definitely not “auto” - but seems set to be capped to 10, while scale should goes up around 3500/4000).
Not fixed… Did the dev pass away?
4 Feb 2025 13:00:25 github-actions[bot] @.***>:
By the powers vested in me as the guardian of unresolved discussions, I hereby banish thee, stale bot, to the void of irrelevance. Thou shalt not close this issue, for its time has not yet come!
Aw damn… I only just updated hoping the severe javascript lag would be fixed/improved but instead I lost my stacks Was successfully mixing stacked and unstacked bars, areas and lines
Now nothing stacks…
