Bubble-Card icon indicating copy to clipboard operation
Bubble-Card copied to clipboard

apex chart 2.2.3

Open mrlordziemniak opened this issue 4 months ago • 11 comments

Describe the bug
I cant see apex chart on bubble, there is no graph, when i install old version 2.2.1 it is working again.

Expected behavior

Screenshots
2.2.1 -> Image 2.2.3 -> Image

on dashboard, chart is wokring like charm, 22.1 and 2.2.3 too, there is problem only on bubble card on 2.2.3 when i use

section_mode: true grid_options: rows: 4 # default is 6 columns: 6 # default is 12

there is no response for grid options but chart is showing

Thank you! 🍻

mrlordziemniak avatar Aug 25 '25 18:08 mrlordziemniak

Hi! Have you tried with v3.0.3?

Clooos avatar Aug 31 '25 14:08 Clooos

Yes this issue is on 3.0.3 or maybe it is apex related not bubble

mrlordziemniak avatar Aug 31 '25 20:08 mrlordziemniak

That's much likely this, since most cards don't have any issues when added to a pop-up.

Could you open an issue to the ApexChart's GitHub?

Clooos avatar Aug 31 '25 20:08 Clooos

it is something with bubble card, i got multiple-entity-row and on edit mode it is displayed corectly, on 2.4.0 bubble card it is working correctly, same as apex, on version 3.0 of bubble card it is no data

mrlordziemniak avatar Sep 01 '25 15:09 mrlordziemniak

I'm experiencing the same behaviuor with apexcharts but only on mobile from the HA app. On desktop with a browser everything works fine. I will dig deeper, maybe @mrlordziemniak can check if that's the case with its issue too? The same card it's OK when displayed outside of the bubble pop-up.

tigers75 avatar Sep 17 '25 16:09 tigers75

With apex 2.2.2 it is working

mrlordziemniak avatar Sep 19 '25 05:09 mrlordziemniak

So it's something in apex 2.2.3 and bubble 3.0.3, but apex 2.2.3 works everywhere else in HA, and it worked with 3.0.2 too, so I think it should be investigated in Bubble-Card...

tigers75 avatar Sep 19 '25 06:09 tigers75

I have a similar problem, maybe it has the same cause.

First opening a Bubble Popup with an ApexChart shows no chart.

After cleaning Browser Cache or Clean Opening HA-App shows the Popup without the Chart. After changing Tab or HA Menu an go back the Popup comes up with the Chart. If I Using same Chart-Konfig without Bubble-Popup everything is fine. Asking AI says is rendering problem in the Popup calling Timing / Race Condition.

SteffenM-DE avatar Oct 19 '25 09:10 SteffenM-DE

Ah, Finally - thank you for creating this issue. It was driving me nuts. Most of the times it doesn’t render the chart. Then you go in the desktop to debug - working again. Clearing the mobile app cache helps. One day later, the issue appears again.

I would guess this is caused by some timing issues?

Anyway, this issue seems to be affecting more than one user. Can we support (e.g. logs) somehow?

dollarusername2 avatar Oct 27 '25 16:10 dollarusername2

Experiencing the same issue. Sometime the Apex Chart shows up but most of the times it does not. Can't really find anything relevant in logs. Devtools does show me this when opening the pop-up, but not sure if this is relevant:

apexcharts-card.js?hacstag=331701152223:1 apexcharts-card:  TypeError: Cannot read properties of null (reading 'resetParsingFlags')
    at e.value (apexcharts-card.js?hacstag=331701152223:1:1471656)
    at Gc._updateData (apexcharts-card.js?hacstag=331701152223:1023:8985)

FransTwisk avatar Oct 29 '25 17:10 FransTwisk

Can confirm this is an issue with v.2.2.3 of apex charts - downgrading them to v.2.2.2 mitigates the issue for now ... There are also issues in the apexcharts repo: https://github.com/RomRider/apexcharts-card/issues/1008 https://github.com/RomRider/apexcharts-card/issues/999

This one is the oldest one with that issue: https://github.com/RomRider/apexcharts-card/issues/945

HoroTW avatar Oct 30 '25 21:10 HoroTW