aboutsummaryrefslogtreecommitdiff
path: root/src/cpp/lineGraph.cpp (unfollow)
AgeCommit message (Collapse)Author
2023-07-22Add current heartrate to heartrate detail pagedodoradio
This copies a bit of code from https://github.com/AsteroidOS/asteroid-hrm/blob/master/src/main.qml
2023-07-21Implement new dataChanged signal for file updatesdodoradio
2023-07-21Expand functionality of steps detail pagedodoradio
This adds the week graph from the preview page. Tapping on bars allows selecting the day that's currently displayed.
2023-07-21Steps: Use new bar graph interactions to open detail page at different datesdodoradio
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-21Add heartrate detail pagedodoradio
This currently just allows viewing heartrate over a day, a week or 3 weeks
2023-07-20Add start and end values for HrGraphdodoradio
2023-07-20Remove fileLoadStatusdodoradio
This was missed when the code was moved from sensorlogd, and caused issues as the bool would arbitrarily be true or false.
2023-07-20Remove positioning hints from reusable componentsdodoradio
2023-07-20Make spacings consistent across previewsArseniy Movshev
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-02Add settings for preview display to UI settings pageArseniy Movshev
2023-07-02Add settings for which previews are shown on main preview pageArseniy Movshev
2023-07-02Make the main preview page more modularArseniy Movshev
this splits off the graphs for different sensors into separate files which should make maintenance a bit easier
2023-07-02Split settings into separate pages in preparation for further customisation ↵Arseniy Movshev
settings UI page is currently empty
2023-07-02Add settings for step goalArseniy 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-30Check for data size before trying to load heartrate dataArseniy Movshev
2023-06-29Use todayTotal to make total update liveArseniy Movshev
2023-06-29Implement LoadingDone signalArseniy Movshev
2023-06-29Add graph hereArseniy Movshev
2023-06-11Add heartrate graph (experimental, slightly broken)Arseniy Movshev
2023-06-08Switch to new sensorlogd qml interfaceArseniy 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-02make the steps graph barely fit on round displaysArseniy Movshev
2023-06-02bar graph: tweak anchors to make sure that labels text is never clippedArseniy Movshev
2023-06-02Fix syntax on valuesar.count to make graph show intermediate values correctlyArseniy Movshev
2023-06-02Settings: add interval settings for heartrate and step counterArseniy Movshev
2023-05-30Move bar graph into a dedicated componentArseniy Movshev
2023-05-30Clean up build and packaging descriptionsArseniy Movshev
2023-05-30Switch to the colours used in asteroid-hrmArseniy Movshev
This app should eventually be a drop-in replacement for that, so it seems appropriate to reuse the colours
2023-05-30Make steps graph trigger a recording when the app startsArseniy Movshev
This should mean we always have the most up-to-date data. I am not sure this will work - the daemon may still be taking the reading as the graph draws, so the data still isn't fresh. Frankly, the daemon's recording mechanism needs a rewrite, and this is a stopgap.
2023-05-28Add pageheader to settings pageArseniy Movshev
2023-05-28Revise READMEArseniy Movshev
2023-05-28Add placeholder message in case of no logged stepsArseniy Movshev
2023-05-28Add settings pageArseniy Movshev
This page currently only allows enabling/disabling the two currently supported sensors This also necessitated the addition of a layerstack to allow layer navigation
2023-05-28Fix desktop file namingArseniy Movshev
2023-05-27fix pageheader clippingArseniy Movshev
2023-05-27Refine graph codeArseniy Movshev
2023-05-27main.qml: add basic layoutArseniy Movshev
This adds a basic home page for the app, with a steps display and a history for the past week.
2023-05-27initial commit: rename and add demo codeArseniy Movshev
Based on asteroid-helloworld
2023-05-16Switch invoker to use booster-qt5Bart Ribbers
booster-qtcomponents-qt5 has been deprecated upstream and the application launches fine with just booster-qt5 as well
2023-05-14Move main library file to CMAKE_INSTALL_LIBDIR and add a launch scriptBart Ribbers
Previously the main program file was installed to /usr/bin, mistakingly giving the impression it could be executed as is. However it isn't a binary but a library that gets executed through invoker. To prevent confusion move it to /usr/lib and add a launch script to /usr/bin instead which launches it through invoker