Easy custom formulas on activity timeline charts

We (tx @ryandev !) have added support for custom formulas on custom charts on the activity timeline. These are simple math expressions and (hopefully!) easy for non-software developers to write (similar to the /fitness chart support).

This example shows altitude adjusted power (alt_watts) less power (watts) indicating how many watts are “lost” due to the altitude:

Click “Charts” to bring up the activity timeline charts dialog, then click “+Chart” to create a new custom chart:

Click “Add Plot” and search for “Formula”:

Click “Edit Formula”:

Use the “Plots” drop down to insert plots into the expression:

This expression shows how many watts are being “lost” due to the altitude:

You can also reference fields on the activity. Here is an expression for % of heart rate reserve:

(heartrate - activity.icu_resting_hr) * 100 / (activity.athlete_max_hr - activity.icu_resting_hr)

Note that “%HRR” is built in.

6 Likes

This is nice and will open a lot of opportunity for experimentation.
But I’m missing “weight” avaliable as activity field, so we can fiddle with w/kg and Compound Score!

Weight is available but missing from the drop down (we will fix). Use:

activity.icu_weight

1 Like

Compound score is currently available as a custom activity field.

3 Likes

Will it be possible to indicate how many watts are lost due to core temperature as well?