I’m trying to add a speed/watts stream. I found the fields I need, and independently I get a chart for the whole activity, but I only get a chart for the first few minutes when either is divided by the other.
code follows:
{
let speed = icu.streams.velocity_smooth
let watts = icu.streams.fixed_watts
for (let i = 0; i < data.length; i++) {
//data[i] = watts[i] / speed[i]
data[i] = speed[i] / watts[i]
//data[i] = speed[i]
//data[i] = watts[i]
}
}