Omnimaga

Omnimaga => Site Feedback and Questions => Topic started by: Juju on July 26, 2011, 11:33:09 pm

Title: Dynamic stats graphs
Post by: Juju 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.
Title: Re: Dynamic stats graphs
Post by: calcdude84se 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?
Title: Re: Dynamic stats graphs
Post by: Juju on July 27, 2011, 04:44:00 pm
Of course, it's the next thing I'll work on.
Title: Re: Dynamic stats graphs
Post by: ztrumpet on July 27, 2011, 07:13:06 pm
That's awesome!  Great job making it dynamic. :D
Title: Re: Dynamic stats graphs
Post by: Eeems on July 27, 2011, 07:50:40 pm
Well done :)
Title: Re: Dynamic stats graphs
Post by: DJ Omnimaga 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?
Title: Re: Dynamic stats graphs
Post by: Deep Toaster on July 28, 2011, 06:03:02 pm
Dynamic is always awesome :D
Title: Re: Dynamic stats graphs
Post by: Juju 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.