Below is the code for my apex charts and as soon as i define Graph_span it causes my HA page to crash stating no memory or the page just slows down to the point i have edit the address bar then quick get to the raw config to update the apex yaml.
Thoughts or what to look for?
type: custom:apexcharts-card
update_interval: 1d
graph_span: 4d
cache: true
header:
show: true
title: ApexCharts-Card
show_states: true
colorize_states: true
series:
- entity: sensor.energy_retailer_total_daily_net_power_energy_cost
name: Daily Net Costs
type: line
- entity: sensor.home_assistant_calculated_daily_net_energy
name: Daily Net Energy
type: column
group_by:
duration: 1d
neuhausf
(Flo)
February 15, 2024, 1:27pm
2
I have the same issue since HA 2024.2. Before that, memory was no issue. See:
opened 10:28PM - 04 Feb 24 UTC
bug
**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**
I had installed ApexCharts card about six months ago and never had an issue until I updated to latest Firefox. As soon as navigated to the page with the chart, the memory usage goes through the roof crashing that tab. If I access the same page in Edge it doesn’t have this problem.
I removed all but one chart which did not help in Firefox. Then I visited hacs to check if I am missing something. To my amazement ApexCharts card is no longer installed. So I go through and download/install it again which does not fix the issue.
Is anyone else encountered any issues with latest Firefox?
**Version of the card**
Version: 2.0.4
**To Reproduce**
This is the configuration I used:
```yaml
I downloaded it from hacs but also verified the manual steps confirming js file in local folder etc.
One interesting issue I faced, tried to add the following in Configuration.yaml resulted in error with check in developer tools
resources:
- url: /local/apexcharts-card.js?v=2.0.4
type: module

screenshot of my resources

```
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Expected behavior**
A clear and concise description of what you expected to happen.
**Desktop (please complete the following information):**
- Browser [e.g. chrome, safari] Tested in Firefox and Edge. Firefox crashes
- Version [e.g. 22] 122
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.