sankeysoft / nmea_dashboard

MIT License
4 stars 1 forks source link

[Feature Request] History plots #7

Closed jodysankey closed 1 year ago

jodysankey commented 1 year ago

(React to this bug with a thumbs up to vote for faster implementation. I'll generally work the most requested features first)

This feature would allow an alternate content for each cell in the grid - as an alternative to displaying the current value for a property like true wind speed you could display a small graph of the average value over some time period.

The available time periods would be fixed - probably 15 minutes (useful for things like depth monitoring), 2 hours (useful for things like trends in TWS), and 24 hours (useful for things like atmospheric pressure trends).

To limit memory usage the app would only begin storing historical data after a graph has been placed on a page. Due to mobile operating systems constraints on battery utilization and foreground services I'd only propose recording data while the app is running in foreground with the screen on.

There is a question about whether to store the data on disk or only memory - its probably worth storing on disk since losing hours worth of data due to a restart or memory pressure would be annoying.

jodysankey commented 1 year ago

This feature is now complete as at v0.3.x