{{Math.max(...leadTracker.datasets[0].data) < 0 ? 0 : Math.max(...leadTracker.datasets[0].data)}}
Biggest Lead
{{Math.min(...leadTracker.datasets[0].data) > 0 ? 0 : -Math.min(...leadTracker.datasets[0].data)}}
TIMES
TIED
{{leadTracker.datasets[0].data.filter(v => v == 0).length}}
LONGEST
RUN
{{Math.max(...leadTracker.datasets[0].data.reduce((acc, cv, i, arr) => {if((cv - (i == 0 ? 0 : arr[i-1])) * acc[acc.length-1] > 0) {acc[acc.length-1] += (cv - (i == 0 ? 0 : arr[i-1]));} else {acc.push(cv - (i == 0 ? 0 : arr[i-1]));} return acc;}, [0]).map(v => Math.abs(v)))}}
LEAD
CHANGES
{{leadTracker.datasets[0].data.filter(v => v != 0).reduce((acc, cv, i, arr) => {if ((cv > 0 && arr[i-1] < 0) || (cv < 0 && arr[i-1] > 0)) {acc++;} return acc}, 0)}}