Custom Charts: some metrics doesn't seem to play together with some aggregations

e.g. when I add Efficiency or HRRc to the chart and use a mooving average or EWMA for aggregation, activities seem to be included that do not contain a value for theese metrics (e.g. no HHRc because I didn’t reached threshold HR). Same for days without activities. So I think mathematically NaN’s and days without activities should be ignored to calculate the aggregations (at least for some metrics). Or another type of aggregation could be added or an option “ignore NaN and days without activities”?!?
Hope it makes sence, what I wrote :wink:

I see what you mean. For moving average the denominator should be the number of days in the window with a value rather than the size of the window. Moving average should probably work that way for all plots?

I don’ think that makes sense for EWMA as only doing “decay” when a new value is found would make the weight fairly random.

This sounds good. Moving average just using days with value, EWMA with all.

Theese plots are by far the most adjustable way to plot your data I have ever seen!
Really awesome.

I thought about this a bit more while riding this AM. I need to classify the plots as “gauges” that do not stack (e.g. efficiency, avg HR, weight) vs things that do stack (training load, distance, time etc.) and adjust the aggregates behave accordingly. Ditto for stacking bars or not etc.

1 Like

This may be the best solution! Also for possible future additions of metrics or aggregation methods.

Its live now. You need to remove and add back HRRc etc on existing charts to see the change.

1 Like