VAM Peaks Chart – Is This Graph Possible in Intervals?

Is there a way to ignore a jump from 0 to a value directly in the script? Fixing that for every activity is too laborious

Cropping the first couple of seconds is the only other way that I know of.
Select entire activity except first 10-15 sec, then Actions - Crop. Easiest to spot what you need to crop is the Elevation chart.

Solved: You can fix that error by adding the following lines right after “let altitude = stream.altitude;”

let startIdx = 0;
while (startIdx < altitude.length && altitude[startIdx] <= 1) {
startIdx++;
}

if (startIdx > 0) {
altitude = altitude.slice(startIdx);
}

This way, the data processing will start from the first altitude value greater than 1, avoiding issues caused by initial zero.

1 Like

I’d like to test that but I can’t find “vam peak” anywhere… where do I have to look for ?
Thanks !

2 Likes

awesome, thanks !
I forgot about Activity Charts and was looking at Charts