0

It would be nice to see the average reputation for a selection in the reputation graph, because it's quite a job to calculate it manually.

Average of selection - example

2 Answers 2

2

Well, for now you can use this instead :)

var t = 0, 
    start = new Date($('#start-date').val()), 
    end = new Date($('#end-date').val());

$('.repcell .grpos').each(function(){
    t += parseInt($(this).text(), 10);
});

console.log('Average rep gain per day: ' + (t / ((end - start)/(1000 * 60 * 60 * 24))));
3
  • Haha, nice solution :] I'll make a Chrome plugin for this :]
    – Harmen
    Commented Oct 30, 2010 at 12:13
  • I made a Chrome plug-in for it, if someone else is interested I'll post it on meta in a separate topic.
    – Harmen
    Commented Oct 30, 2010 at 13:54
  • I'm getting NaN as a result, possibly because of changes to the way the rep page works.
    – Pops
    Commented May 29, 2012 at 17:42
0

I've made a Chrome Plugin for it

Credits for Yi Jiang

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .