Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apex charts buggy since recently (HA 2024.05?) #693

Open
HABO7405 opened this issue May 3, 2024 · 4 comments
Open

Apex charts buggy since recently (HA 2024.05?) #693

HABO7405 opened this issue May 3, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@HABO7405
Copy link

HABO7405 commented May 3, 2024

Checklist

  • [ x] I updated the card to the latest version available
  • [ x] I cleared the cache of my browser
  • [ x] I verified that I'm really running the lastest version in my browser console
  • [ x] I checked if there is another issue opened with the same problem

Describe the bug
Apex chart 'buggy' since recently. Opening the tabs in the dashboard with an Apex-chart on it:

  • the desktop browser gets very busy: it takes seconds before the chart displays
  • the mobile HA-app takes seconds to display, after displaying, the HA-app gets black and stops responding

After creating a number of charts (about 9 in one dashboard with 13 tabs) about a month ago, the charts worked fine (no significant browser- / app-claim). It took a bit time, but everything was quite responsive. Since then I made no change to the charts.

Please advise on additional information needed to assess the issue.

Last changes:

  • added a Z-wave-stick (Aeotec)
  • updated to HA 2024.05

Version of the card
Version: 2.0.4

To Reproduce
This is an example of the configuration I used:

   - type: custom:apexcharts-card
    graph_span: 72h
    yaxis:
      - id: _temperatuur
        decimals: 0
        apex_config:
          tickAmount: 6
      - id: _luchtvochtigheid
        decimals: 0
        opposite: true
        apex_config:
          tickAmount: 4
    apex_config:
      chart:
        zoom:
          type: x
          enabled: true
          autoScaleYaxis: false
        dropShadow:
          enabled: true
        toolbar:
          show: true
          autoSelected: zoom
        xaxis.type: datetime
        height: 150px
    color_list:
      - '#E60000'
      - '#0096C7'
    all_series_config:
      stroke_width: 3
      opacity: 0.3
      type: area
    header:
      show: true
      title: Keuken
      show_states: true
      colorize_states: true
    series:
      - entity: sensor.aqara_temp_hum_keuken_temperatuur
        yaxis_id: _temperatuur
        data_generator: ''
        curve: smooth
        name: Temperatuur
      - entity: sensor.aqara_temp_hum_keuken_luchtvochtigheid
        yaxis_id: _luchtvochtigheid
        data_generator: ''
        curve: smooth
        invert: false
        name: Luchtvochtigheid

Screenshots
image

Expected behavior
Responsive

Desktop (please complete the following information):

  • Browser [Chrome]
  • Version [124.0.6367.78]

Smartphone (please complete the following information):

  • Device: [iPhone13 pro]
  • OS: [IOS 17.4.1]
  • Browser [Chrome]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@HABO7405 HABO7405 added the bug Something isn't working label May 3, 2024
@ChrisMarriott38
Copy link

I have noticed similar issues. One being this was a perfect gradient before. But now all the colours are overlaid on the entire time, it doesn't seem to factor in the unit blocks for the colour change now.

type: custom:apexcharts-card
experimental:
color_threshold: true
apex_config:
chart:
height: 200
stroke:
width: 2
series:

  • entity: sensor.lux_battery
    show:
    in_header: false
    legend_value: false
    color_threshold:
    • value: 100
      color: rgb(255, 0, 201)
    • value: 80
      color: green
    • value: 60
      color: rgb(0, 252, 255)
    • value: 40
      color: orange
    • value: 20
      color: red

Can see all thresholds are overlapping.
image

@Din-BH
Copy link

Din-BH commented May 12, 2024

I also face issues after the said HA upgrade. Charts take forever to load which for some charts crashes my viewer.

@midadami
Copy link

midadami commented May 15, 2024

Same, some charts definitely take longer to load than usual. In my case the results once loaded (5s to load right now) display correctly.

@mrlordziemniak
Copy link

same here!!! HA is very laggy now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants