SamAmco / track-and-graph

An android app for tracking personal data and creating custom graphs
GNU General Public License v3.0
428 stars 39 forks source link

Feature-Request - Graph by label #236

Open Heiko-san opened 11 months ago

Heiko-san commented 11 months ago

Hi, your app is really great!

However I feel it would be very useful, when creating a graph, that you could "filter" the values to those with a specific label. I mean some kind of "include a set of labels" functionality for the graph settings.

Let's say you keep track of your pulse for example. So you have measurements with resting pulse and those with pulse while doing sports. Now maybe you want to graph your average resting pulse. If your values have labels like "rest", "sport", ... You could do that by only graph the values with the label "rest". However of course the app doesn't support such a filter at the moment.

Maybe it could be useful the other way round as well: That you can exclude a set of labels from graph.

SamAmco commented 11 months ago

Hi, I think this is another use case for functions which i'm planning on implementing at some point in future.

Heiko-san commented 11 months ago

Maybe, I just saw what is possible right now and the obvious solution seemed to be "filter by label" :)

SamAmco commented 11 months ago

Yeah it's another one of these things where i want to avoid complicating the graph interface as much as possible and extract that complexity for advanced users. There are all kinds of things you might want to do to your data before plotting it. Filtering by label is a good example.

Heiko-san commented 11 months ago

The more I think about it, the more I like the idea of having functions for that. :)