Created
December 23, 2010 17:49
-
-
Save fish2000/753296 to your computer and use it in GitHub Desktop.
no longer necessary -- but some snippets you're fond of, in spite of their unapologetic sprawling impracticality.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var deltadata = _(chart_data.get_series()).map(function (i) { | |
return i.data; | |
}).reduceRight(function (a,b) { | |
return a.concat(b); | |
}).map(function (i) { | |
return i[1]; | |
}).reduce(function (a,b) { | |
return a + b; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment