summaryrefslogtreecommitdiff
path: root/src/graphs/TimeLabels.qml (follow)
AgeCommit message (Collapse)Author
2023-08-18Further tweaks and fixes to time labelling algorithmdodoradio
2023-08-02Make sure that time labels label an entire daydodoradio
This still isn't ideal, as it only covers the cases where 8h is the smallest division.
2023-08-02Timelabels: format hours/minutes more appropriatelydodoradio
- don't bother rendering hours for every label - this isn't useful information and crowds the screen - make sure we 0-pad any numbers below 10
2023-07-20Rewrite the labelling systemdodoradio
The label code has been split into its own set of components: -TimeLabels: These try to display time labels as best as possible. They can label intervals from a minute to a day, but the code for labelling weeks is still missing. There's also no code protecting against strings overlapping with each other. - VerticalLabels: The code for these is a bit more 'analogue' than that of the time labels, but it's roughly analogous to previous code. These have also been implemented for the heartrate graph.