Problem with double chart

I happen to be looking at 2 very similar graphs, which have power-cadence and heartrate-cadence data in common.
When I try to visualize both on power screen I see this error


The scripts for those custom plots needs to be in a block. All the scripts run in the same sandbox for the activity for performance reasons. So instead of:

let cadence = ...


  let cadence = ...

At the top level of the script.

1 Like