jdrescher2006 / Laufhelden

Sport tracker for Sailfish OS
GNU General Public License v3.0
16 stars 17 forks source link

Make the GraphDatas last value display optional. #169

Closed martonmiklos closed 4 years ago

martonmiklos commented 4 years ago

Displaying the last value in the top right corner of the graphs does not makes a lot of sense in graphs other than elevation. (For e.g. usually in the case of speed it will display some close to zero speed what I run when I hit the stop button.)

I also added an optimalization: the paint callback is skipped for hidden graphs.

By thinking it further it would be useful to move the current values of the graphs there to spare some screen esate at the bottom.