Author Topic: Dynamic stats graphs  (Read 3087 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Dynamic stats graphs
« on: July 26, 2011, 11:33:09 pm »
Here's a dynamic graph I made with GD (as opposed to static graphs made by DJ_O).

http://omnimaga.org/statsgraph.php (it's a pic, despite the .php you can put them in <img> tags, although it's not recommended unless I put a cache system in)

Any suggestions are welcome.

The black line is the 30-day moving average, while the gray line is the 7-day average. Thanks to Runer112 for the font.
« Last Edit: July 26, 2011, 11:34:29 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Dynamic stats graphs
« Reply #1 on: July 27, 2011, 10:41:30 am »
I like the font ;D
Any chance that there could be labels on the x-axis as well?
« Last Edit: July 27, 2011, 10:41:44 am by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Dynamic stats graphs
« Reply #2 on: July 27, 2011, 04:44:00 pm »
Of course, it's the next thing I'll work on.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Dynamic stats graphs
« Reply #3 on: July 27, 2011, 07:13:06 pm »
That's awesome!  Great job making it dynamic. :D

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Dynamic stats graphs
« Reply #4 on: July 27, 2011, 07:50:40 pm »
Well done :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Dynamic stats graphs
« Reply #5 on: July 28, 2011, 02:29:58 pm »
That is nice. I agree it would be nice if vertical lines for each year were displayed. Also I guess it won't take much resources since it just fetches stats from the stats table without calculating anything, right?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Dynamic stats graphs
« Reply #6 on: July 28, 2011, 06:03:02 pm »
Dynamic is always awesome :D




Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Dynamic stats graphs
« Reply #7 on: July 29, 2011, 01:19:23 am »
That is nice. I agree it would be nice if vertical lines for each year were displayed. Also I guess it won't take much resources since it just fetches stats from the stats table without calculating anything, right?
Yeah, most of the resources, if not all, are used for drawing all the stuff.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.