question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Graphs take extremely long time to show

See original GitHub issue

I have an issue for quite some time. My graphs take an extremely long time to load. This issue appears on all of my devices with different browsers. See the gif below:

gif5

Here is the configuration I use for one panel:

cards:
  - cards:
      - entities:
          - entity: sensor.bedroom_temperature_avg
            index: 0
            name: Bedroom
          - entity: sensor.0x00158d00033b0e50_temperature
            index: 1
            name: Hall
        hours_to_show: 24
        icon: 'mdi:thermometer'
        line_width: 4
        name: Temperature
        points_per_hour: 3
        show:
          fill: false
          legend: false
        smoothing: true
        type: 'custom:mini-graph-card'
        update_interval: 30
      - entities:
          - entity: sensor.bedroom_humidity_avg
            index: 2
            name: Bedroom
          - entity: sensor.0x00158d00033b0e50_humidity
            index: 1
            name: Hall
          - entity: sensor.bedroom_humidity_avg
            index: 2
            name: Bedroom
        hours_to_show: 24
        icon: 'mdi:water-percent'
        line_width: 4
        name: Humidity
        points_per_hour: 3
        show:
          fill: false
          legend: false
        smoothing: true
        type: 'custom:mini-graph-card'
        update_interval: 30
    type: horizontal-stack
title: Inside Conditions
type: vertical-stack

Does anyone know what can cause this?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kalkihcommented, Mar 21, 2021

Thanks @ildar170975 , should indeed have been fixed in the latest version by https://github.com/kalkih/mini-graph-card/pull/452. Thanks for confirming, closing this now.

0reactions
ildar170975commented, Mar 18, 2021

Again tested today 2 cases in vertical-stack:

  • update_interval=0
  • update_interval=60

In both cases “hours_to_show=72”, a sensor is updated every 1 minute. I do not see the bug anymore - in both cases the graph is displayed without a delay. Probably the problem was solved either in mini-graph-card or in vertical-stack.

Read more comments on GitHub >

github_iconTop Results From Across the Web

plotting very slow and took a long time for the plot tool to show ...
The figure window shows up within 5 seconds, but it takes MATLAB 3 minutes to populate the graph window with the graphs. Additionally,...
Read more >
Plotting a graph takes a long time in Python - Stack Overflow
If I copy and paste the data points in a plotting software, reaching the plot takes just 30 seconds but with the following...
Read more >
Windows 10/Office 365/Excel Graphs slow loading
I have a small data set running off of a pivot table using a slicer. There are only two sets of data in...
Read more >
[SOLVED] Long Time Graph, too much data - Ubidots
Hi, When I try to set a line chart over a long period that requires >5000 or more dots this gets simply too...
Read more >
Best Chart to Show Trends Over Time - PPCexpo
As mentioned earlier, line charts are best suited for showing trends since changes against time take a linear approach. Population growth, demand forecasts,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found