Custom charts bug

I just discovered the following: if an activity has no intervals, the custom chart may break down, omitting some values. Here is an example activity.
What it looks like with no intervals:


The correct graph (with a random interval inserted):

I think this happens because of the “work int average” field whose scaling goes crazy when there is no actual interval, thus throwing all the other power fields away. Maybe a filter could disable this scaling if no interval is present.

I just fixed this. Tx for the report.

1 Like