RomRider / apexcharts-card

📈 A Lovelace card to display advanced graphs and charts based on ApexChartsJS for Home Assistant
MIT License
1.07k stars 75 forks source link

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

Open HABO7405 opened 2 months ago

HABO7405 commented 2 months ago

Checklist

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

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:

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):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

ChrisMarriott38 commented 2 months ago

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:

Can see all thresholds are overlapping. image

Din-BH commented 1 month ago

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

midadami commented 1 month ago

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 commented 1 month ago

same here!!! HA is very laggy now!

RomRider commented 3 days ago

Should be fixed with the latest beta, please check

Din-BH commented 2 days ago

For me the latest betas break my (relatively complex perhaps) graphs. While they were lagging a bit before, reducing amount of info solved the problem, but the betas do not work for me. I will do some screenshots later.