aboutsummaryrefslogtreecommitdiff
path: root/src/graphs (follow)
AgeCommit message (Collapse)Author
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-21Implement new dataChanged signal for file updatesdodoradio
2023-07-21Add interactive functionality to bar graphdodoradio
2023-07-21Add steps detail pagedodoradio
Currently this is a direct clone of the heartrate detail page, and isn't specialised for steps in any way
2023-07-20Add start and end values for HrGraphdodoradio
2023-07-20Remove positioning hints from reusable componentsdodoradio
2023-07-20Use VerticalLabels in BarGraphArseniy Movshev
Currently the width of the labels isn't dynamic as it was before. This will need fixing.
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.
2023-07-02Rename hrgraph to linegraph because it's not actually heartrate specificArseniy Movshev
2023-07-01Add steps goal line indicator to steps graphArseniy Movshev
the move of loggersettings into main is just done so we don't have a duplicate, since we now need it in main.
2023-06-30Reduce the number of divisions if BPM goes over 100Arseniy Movshev
2023-06-30fix graph label positioning and spacingArseniy Movshev
the labels containers are now inset so they actually align with the values (a small offset would be caused by the way that the graph insets its data) all the code for positioning of the horizontal labels has been redone. This necessitated some changes in the loading code, and a fix to a particularly embarrassing variable duplication.
2023-06-29Add graph hereArseniy Movshev
2023-06-11Add heartrate graph (experimental, slightly broken)Arseniy Movshev
2023-06-07Get rid of the blob graphArseniy Movshev
This fixes an issue where a single bar could fill the entire width of the graph, making a blob shape This is done by setting an effective minimum of the number of bars that the graph sees, so that an individual bar can't be wider than the width seen when there's three bars
2023-06-02bar graph: tweak anchors to make sure that labels text is never clippedArseniy Movshev
2023-05-30Move bar graph into a dedicated componentArseniy Movshev