dbuezas/lovelace-plotly-graph-card

Range of data not updating when zooming out

Kroonos opened this issue · 4 comments

Describe the bug
the range of the data doesn't update when zooming out. it 's stuck on the "hours to show" range

Screenshots
Screenshot_20240104-100803

yaml

type: custom:plotly-graph
entities:
  - entity: sun.sun
hours_to_show: 24
refresh_interval: 10

Additional context

Does it happen with other entities? sun.sun doesn't even work for me

yes, every entities have the same behavior.
Screenshot_20240104-143913

the data appears if I put a big "hours to show" number
Screenshot_20240104-144210

That's really weird. I haven't updated Home Assistant yet, I'll try to reproduce the issue after that

seems like I cannot reproduce this bug anymore after updating to 2024.1.2