Line Graph

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
mickd
Forum Contributor
Posts: 397
Joined: Tue Jun 21, 2005 9:05 am
Location: Australia

Line Graph

Post by mickd »

I am guessing that this is going to be complicated but i was wondering what i should look into if i was to create a line graph in php based on database values without having to create the image literally a jpg for example then display it.

By the way, as this is a learning experience i would prefer to not be given a link to a premade 20 billion line script :wink:

Any help appreciated!
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

sounds like a project using GD
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

You can do it with css. It might be a little bit advanced for some but it can be done and it looks great.
mickd
Forum Contributor
Posts: 397
Joined: Tue Jun 21, 2005 9:05 am
Location: Australia

Post by mickd »

does GD actually allow you to make the graph without first creating the image and then displaying the image?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

mickd wrote:does GD actually allow you to make the graph without first creating the image and then displaying the image?
Have you looked into JPGraph ? Can't remember the website but it's the top hit on Google for "JPGraph" ;)
Post Reply