oliexdev / openScale

Open-source weight and body metrics tracker, with support for Bluetooth scales
GNU General Public License v3.0
1.66k stars 290 forks source link

Fixed data ranges / y-axis for diagram #1023

Open PeterHuewe opened 6 months ago

PeterHuewe commented 6 months ago

When using the diagram view, the graphs jump and scale depending on the values currently shown. e.g. if I lost 1kg over one week the diagram shows values between e.g. 69 and 70kg, the graph is "zoomed in" If in the next week I gain 5 kg the diagram shows values between 69 and 74 kg and the graph zooms out to display the broader range.

However this makes seeing trends etc quite hard, as the y axis is constantly changing. Basically this renders the diagram view useless, as you cannot compare data over a longer range of time.

Describe the solution you'd like I would like to be able to fix the y-axis to a certain range, so the graph does not change its zoom factor. i.e. in the settings I could say, weight is to be displayed with a fixed y-axis between 69-74kg - so the graph would look consistent over time.

Describe alternatives you've considered exporting the data and do the graph offline. Also the statistics view is more valuable in this regard.