i'm doing it a little differently this time around. The last time I created the images on the fly, but then there is the issue of the database being hit really hard every time the image is displayed. I then made them static, but user's browsers cache the file so it doesn't update.
Now I'm making them static and displaying them through a PHP file.
Long story short, it's a bit longer of a process, but it's much faster and cleaner in the long run. That should be back up tomorrow I believe.
Something I've been meaning to ask. How is the blue average FE line calculated? Is it the average of the current tank (point) and each previous tank (i.e. - point 3 would be 3 tank average and point 20 would be 20 tank average)?