Page 1 of 1

score charts revisited

PostPosted: Tue Jan 03, 2012 9:53 pm
by sherkaner
Hello,

I've just had some fun trying to recreate cspare's ConquerStats - Score charts using Flot for graphing, and it seems to be working. If anyone wants to try it out, please do so and give some feedback here.

Currently it adds a button to the profile page (same position as map rank), and it starts retrieving the data through the API and in the end it creates the graph.
The graph allows zooming, resetting the range required a button. It doesn't take into account score resets or games with missing logs, so it could be off a few point (though it counts back, so the end should normally be ok). As far as I know, it should work for chrome too (but haven't tested that yet).

Install: click the link below
https://github.com/sherkaner/addons-for ... hs.user.js

Image

Re: score charts revisited

PostPosted: Tue Jan 03, 2012 10:25 pm
by ender516
I can see the graph, but how do I zoom? Also, is there a way to make the graph fill the width of the profile page? Right now, I get a small rectangle which could be spread to show the details more clearly. All in all, though, a good start.

Re: score charts revisited

PostPosted: Wed Jan 04, 2012 3:15 am
by cspare
Nice! I tried it and it looks really nice. good job:)

Re: score charts revisited

PostPosted: Wed Jan 04, 2012 4:12 am
by sherkaner
ender516 wrote:I can see the graph, but how do I zoom? Also, is there a way to make the graph fill the width of the profile page? Right now, I get a small rectangle which could be spread to show the details more clearly. All in all, though, a good start.


That's the most interesting thing :D, just click&drag on the map to select the area you want to zoom to. Enlarging it won't be a problem, for now I just chose the settings in flot's examples to be honest (600*300 px).

cspare wrote:Nice! I tried it and it looks really nice. good job:)

Thanks! And I didn't expect you were still watching your thread, but it's good to see you still are.


Btw, I just tried Highlanderattack, but he finished 33246 games atm, which means 167 requests to the API (1 page is 200 games), and that took 1m30s on my computer. So you'll have to be patient.

Re: score charts revisited

PostPosted: Wed Jan 04, 2012 5:23 am
by sherkaner
Updated it a bit, it now shows a progress text when loading, the graph is larger, and more information is displayed when hovering a point in the graph. I changed the name too, if you're getting 2 buttons, delete the old version.

And I can confirm now that it works in Chrome.

Re: score charts revisited

PostPosted: Fri Jan 06, 2012 3:02 pm
by BGtheBrain
****

Re: score charts revisited

PostPosted: Fri Jan 06, 2012 4:28 pm
by sherkaner
BGtheBrain wrote:Wow. I stumbled into this form and Im glad I did.
This is far superior to the alternative.

Thanks for your work.


No problem, It was enjoyable to make.

Btw, added the possibility to add more players to the graph, see image below for the result:

Click image to enlarge.
image

Re: score charts revisited

PostPosted: Sat Jan 07, 2012 10:37 am
by SirSebstar
wow, i can actually see when i tried out need settings like assassin and stuff. sweet

Re: score charts revisited

PostPosted: Sat Jul 07, 2012 9:19 am
by OwnerOfBillHess
Does this chart work for macs? I saw that the other one only supported windows.

Re: score charts revisited

PostPosted: Sat Jul 07, 2012 9:26 am
by OwnerOfBillHess
Nevermind, just downloaded it and it works great. Is there a way to filter it by different game types? Seems like SirSebstar found a way to do that

Re: score charts revisited

PostPosted: Sun Jul 29, 2012 4:36 am
by SirSebstar
OwnerOfBillHess wrote:Nevermind, just downloaded it and it works great. Is there a way to filter it by different game types? Seems like SirSebstar found a way to do that

sorry to mislead you.
I know that when i try some new settings, my score usually drops. Hence when my score drops, its usually because i am doing something new. I could see some faily dramatic score drops in that list, and that is mainly because i was teaching myself how to play those unfamiliair settings. When you see me rise again, you can see i picked up the tactics required and after a while i move to the next project.
so i inferred this when looking at the graph

Re: score charts revisited

PostPosted: Sun Jan 19, 2014 6:34 am
by sherkaner
Updated the script to v0.4 because someone asked, should work with polymorphic games now.

Re: score charts revisited

PostPosted: Sun Jan 19, 2014 3:05 pm
by casper
Many thanks for the update!!!!

Re: score charts revisited

PostPosted: Sat Feb 21, 2015 1:18 pm
by macken
Nice, thanks!