luci/applications/luci-app-statistics/htdocs/luci-static/resources
Rani Hod 8fcd52f513 luci-app-statistics: regenerate graphs on window resize
Currently graphs are redrawn only based on the refresh interval
(never or every 5/30/60 seconds).
Since the image size is calculated based on the window size,
redraw graphs (once) also after resizing the window.
This also captures window resize due to orientation change
(e.g., for mobile).
Since multiple resize events are fired when dragging the window
border, there is a 250ms delay for debouncing.

Signed-off-by: Rani Hod <rani.hod@gmail.com>
Tested-by: Paul Donald <newtwen@gmail.com>
2023-12-04 16:35:15 +01:00
..
statistics luci-app-statistics: memory: make hiding 'free' configurable 2023-10-09 23:16:36 +03:00
view/statistics luci-app-statistics: regenerate graphs on window resize 2023-12-04 16:35:15 +01:00