dbuezas / lovelace-plotly-graph-card

Highly customisable Lovelace card to plot interactive graphs. Brings scrolling, zooming, and much more!
411 stars 20 forks source link

Statistic auto zoom level #455

Closed firstcolle closed 1 month ago

firstcolle commented 1 month ago

I’m experiencing strange behavior in the display of a sensor from the long-term statistics.

`type: custom:plotly-graph
entities:
  - entity: sensor.sonoff_a480097298_temperature
    name: Temp.
    statistic: max
    period: auto`

If I set a wide zoom (7 days), I can see the data, but when I zoom in for more detail, I can't see the data. Senza titolo-1

dbuezas commented 1 month ago

This is because the 5minutes period usually stores less days worth of data (depends on how you configure data retention)

You can:

firstcolle commented 1 month ago

Interesting! I'll look into them. Thanks!