Nothing
getNextGap = function(data, currentIndex, minIndex, maxIndex, direction) {
nextGap = 0
pointer = currentIndex
while (pointer > minIndex && pointer < maxIndex) { # TURE
pointer = pointer + direction
nextGap = abs(data[pointer] - data[currentIndex])
if (nextGap > 0) { # Ignores duplicates in data
return(pointer)
}
}
return(pointer)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.