Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-17-2012, 07:11 PM   PM User | #1
DRG26
New to the CF scene

 
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
DRG26 is an unknown quantity at this point
Line Graph in php

Anybody help me for creating line graph in php using mysql data?
I have made bar graphs using phpgraphlib but in case of line graph,
there will be no output.
In my data i want to take time scale in yaxis,may be this is a problem.
Because i searched for this but i got examples where time scale are in xaxis.
Plz help me how to take time scale in y axis.
DRG26 is offline   Reply With Quote
Old 10-17-2012, 08:36 PM   PM User | #2
DrDOS
Senior Coder

 
Join Date: Sep 2010
Posts: 1,234
Thanks: 11
Thanked 157 Times in 157 Posts
DrDOS is infamous around these parts
You can use canvas and .svg files to make line graphs, or any other kind
of graph. For .svg a polyline should work well. You can also make a
background for the graph.
DrDOS is offline   Reply With Quote
Old 10-17-2012, 09:17 PM   PM User | #3
patryk
Regular Coder

 
patryk's Avatar
 
Join Date: Oct 2012
Location: /dev/couch
Posts: 395
Thanks: 2
Thanked 64 Times in 64 Posts
patryk is on a distinguished road
if you're lucky, you might have gnuplot installed on your server (or you can always request it to be installed)
http://www.gnuplot.info
you can plot whatever you want and however you want using that.
patryk is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:43 AM.


Advertisement
Log in to turn off these ads.