[PHP] Graphs

2007-02-06 Thread Kristian Erendi

Hi,

I wish to draw graphs on a web page.
Can someone tell me which extension or package I should use?
Any examples?

TIA Krillo


Re: [PHP] Graphs

2007-02-06 Thread David Blanco
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

Kristian Erendi escribió:

 I wish to draw graphs on a web page.
 Can someone tell me which extension or package I should use?
 Any examples?

I suppose you mean Statistical graphs. If such a case, try jpgraph

http://www.aditus.nu/jpgraph/

For a lower-level interface you could try the bundled GD extension
and draw lines, point, fill them all, etc. ;)


Greetings from Spain

- --
David Blanco - Programación y sistemas
Publicinet (Publicidad-Cine-Internet, S.L.)
Urzaiz, 71, entlo, izda. -- 36204 Vigo
Telf 902.014.606 -- http://www.publicinet.net


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFyGvSdbgIy1SiWTARArwCAJ488Bg5Rzxdxrab++gfIFkApirNigCbBtcr
jJytDvKzXia7wa3MphI+PfU=
=2dZ9
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Graphs

2007-02-06 Thread Jay Blanchard
[snip]
I wish to draw graphs on a web page.
Can someone tell me which extension or package I should use?
Any examples?
[/snip]

Google for jpgraph

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Graphs

2007-02-06 Thread Richard Lynch
On Tue, February 6, 2007 5:42 am, Kristian Erendi wrote:
 I wish to draw graphs on a web page.
 Can someone tell me which extension or package I should use?
 Any examples?

The answer is the same as it was yesterday.

GD
JPGraph

Okay, somebody posted a third one I forgot already.

Did you even try to find an answer first?...

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Graphs

2007-02-04 Thread Richard Lynch
On Sat, February 3, 2007 1:53 am, frank wrote:
 yes it does a great job, almost every parameter even for the legend
 can be
 influenced by its methods and properties. i say jp graph is the best

In my limited experience, I was able to influence every parameter,
but not get the dang thing to show up where I wanted it. :-)

The relationship between what I typed and what showed up was never
quite what I expected...

When I had put in more time dinking around with it and failing than it
would have taken to just hand-code it in GD, I gave up.

YMMV
NAIAA
IANAL

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Graphs

2007-02-03 Thread Peter Lauri
Gnuplot can do it for you as well...

Best regards,
Peter Lauri

www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 02, 2007 12:56 PM
To: php-general@lists.php.net
Subject: [PHP] Graphs

I would like to add some graphing capability to an app of mine. What package
is recommended? I don't need anything too fancy, just some bar graphs, pie
charts, etc.

Thank you in advance.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Graphs

2007-02-02 Thread ffredrixson
I would like to add some graphing capability to an app of mine. What package is 
recommended? I don't need anything too fancy, just some bar graphs, pie charts, 
etc.

Thank you in advance.

Re: [PHP] Graphs

2007-02-02 Thread Thomas Pedoussaut

[EMAIL PROTECTED] wrote:

I would like to add some graphing capability to an app of mine. What package is 
recommended? I don't need anything too fancy, just some bar graphs, pie charts, 
etc.

Thank you in advance.
  

I use the PEAR module Image_Graph
Officially it's still in alpha, but works like a charm.

--
Thomas

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Graphs

2007-02-02 Thread LeaseWeb - Poelwijk
Or you could try JPgraph, i used it for several projects:  
http://www.aditus.nu/jpgraph/


Regards,

Sander Poelwijk



[EMAIL PROTECTED] wrote:

I would like to add some graphing capability to an app of mine. What package is 
recommended? I don't need anything too fancy, just some bar graphs, pie charts, 
etc.

Thank you in advance.
  


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Graphs

2007-02-02 Thread Lists

[EMAIL PROTECTED] skrev:

I would like to add some graphing capability to an app of mine. What package is 
recommended? I don't need anything too fancy, just some bar graphs, pie charts, 
etc.

Thank you in advance.
  
Take a look a at: http://www.java2s.com then click on PHP in the menu 
and then sculll down to the image making.


:)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Graphs

2007-02-02 Thread Richard Lynch
On Fri, February 2, 2007 4:55 am, [EMAIL PROTECTED] wrote:
 I would like to add some graphing capability to an app of mine. What
 package is recommended? I don't need anything too fancy, just some bar
 graphs, pie charts, etc.

JP Graph is always mentioned in this list.

I generally just do GD directly, to get things laid out the way I
want, instead of sort of kind of not really the way I want.

YMMV

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Graphs

2007-02-02 Thread frank
yes it does a great job, almost every parameter even for the legend can be
influenced by its methods and properties. i say jp graph is the best

fra*


 JP Graph is always mentioned in this list.

 I generally just do GD directly, to get things laid out the way I
 want, instead of sort of kind of not really the way I want.

 YMMV

 -- 
 Some people have a gift link here.
 Know what I want?
 I want you to buy a CD from some starving artist.
 http://cdbaby.com/browse/from/lynch
 Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Graphs

2006-01-22 Thread Ron Eggler (Paykiosks)
What kind of do u wanna have?

Am Sonntag, den 22.01.2006, 10:46 +0200 schrieb Weber Sites LTD:

 What is the best (Free) way to create good looking graphs with PHP?
 
 Sincerely 
  
 berber 
  
 Visit the Weber Sites Today, 
 To see where PHP might take you tomorrow. 
 PHP code examples : http://www.weberdev.com 
 PHP  MySQL Forums : http://www.weberforums.com
 Learn PHP  MySQL Playing Trivia : http://www.webertrivia.com
 PHP Web Logs : http://www.weberblogs.com 
 Web Development Index http://www.weberindex.com 
 Web Templates http://www.webertemplates.com
 Search for PHP Code from your browser http://toolbar.weberdev.com 
 Free Uptime Monitor : http://uptime.weberdev.com
 PHP content for your site : http://content.weber-sites.com
 


Re: [PHP] Graphs

2006-01-22 Thread Michael Crute
On 1/22/06, Weber Sites LTD [EMAIL PROTECTED] wrote:
 What is the best (Free) way to create good looking graphs with PHP?


Jpgraph is my favorite. Its got a pretty clean OO API and decent
documentation. Plus its PHP5 compatible.

-Mike

--

Michael E. Crute
Software Developer
SoftGroup Development Corporation

Linux takes junk and turns it into something useful.
Windows takes something useful and turns it into junk.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Graphs

2006-01-22 Thread tedd

What is the best (Free) way to create good looking graphs with PHP?

Sincerely

berber


berber:

Best? -- whatever way that you like.

If you like any of these, just ask I'll provide code.

http://xn--ovg.com

Last three.

tedd
--

http://sperling.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP graphs

2003-02-28 Thread Steve Magruder
K [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi guys,
 I would like to read the IP address from a PC that connects to my web
site.
 Any function does that in PHP?

SuperGlobal var in = 4.1.0:
$_SERVER['REMOTE_ADDR']

Global var in  4.1.0:
$HTTP_SERVER_VARS['REMOTE_ADDR']

Steve



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP graphs

2003-02-27 Thread K
Hi guys,
I would like to read the IP address from a PC that connects to my web site.
Any function does that in PHP?

Secondly, I'd like to trace a basic X/Y graph with data provided from a DB,
any PHP help?

Thx.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP graphs

2003-02-27 Thread Jordan Elver
 Secondly, I'd like to trace a basic X/Y graph with data provided from a DB,
 any PHP help?

JPGraph is good.

-- 
Jordan Elver
Put the key of despair into the lock of apathy. Turn the knob of mediocrity 
slowly and open the gates of despondency - welcome to a day in the average 
office. -- David Brent (The Office)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Graphs using PHP

2002-05-31 Thread Leotta, Natalie (NCI/IMS)

Hi, Jason.

I'm developing some really cool line/point and bar graphs.  While the Image
stuff is definitely quite different, I think you'd really like it once you
get into it.  Our graphs are generated dynamically from data in a database.
I can't show you the graphs because they aren't ready for the public yet,
but on the line/point graph we actually have the points as different shapes
and stuff - circles, triangles, squares...  Once we get the new version of
PHP we'll be using styled lines (dot dash dash kinds of things) with a
width, so they will be easily copied in to PowerPoint presentations.

It's a lot of work to get it started, because you have to figure out where
you're going to want everything to go, but I recommend trying it.  Start by
drawing some rectangles and filled rectangles and stuff like that.

Oh, and when you use ImageTTFText, I recommend that for smaller fonts you
use -$fontColor instead of just $fontColor - it comes out clearer.  For
bigger fonts sometimes the blurry one is better because it's less pixilated.

Good luck!  If you need anything else, let me know!

-Natalie

-Original Message-
From: Jason Soza [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 31, 2002 1:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Graphs using PHP


Just want to run this by you all to check the feasibility of it.

I run a site that deals with cars, people can upload pics of their vehicle
and tell everyone else its year, color, 'generation', and where they're
located.

What I'd like to do is make some graphs on the front page that look like
gauges you'd see in a car, i.e. speedometer, tachometer, oil, etc. but these
would actually be graphs showing, for instance, how many of the cars on the
site are red, or whatever the most popular color is. So if a majority of the
cars were red, and red cars made up 57% of the total cars on the site, I'd
want a graphic of a speedometer with a needle that would be in a position
that represented 57%.

How difficult is this? I looked at some of the imagecreate() functions in
the manual, but they look like a language all their own and I'd like to know
if there's any easier way to do this that I'm overlooking. I'm thinking
doing some kind of image overlay is the way to go, but not sure. Any ideas
or pointers would be great, links to sample scripts would be excellent.
Thanks!

Jason Soza


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Graphs using PHP

2002-05-30 Thread Jason Soza

Just want to run this by you all to check the feasibility of it.

I run a site that deals with cars, people can upload pics of their vehicle
and tell everyone else its year, color, 'generation', and where they're
located.

What I'd like to do is make some graphs on the front page that look like
gauges you'd see in a car, i.e. speedometer, tachometer, oil, etc. but these
would actually be graphs showing, for instance, how many of the cars on the
site are red, or whatever the most popular color is. So if a majority of the
cars were red, and red cars made up 57% of the total cars on the site, I'd
want a graphic of a speedometer with a needle that would be in a position
that represented 57%.

How difficult is this? I looked at some of the imagecreate() functions in
the manual, but they look like a language all their own and I'd like to know
if there's any easier way to do this that I'm overlooking. I'm thinking
doing some kind of image overlay is the way to go, but not sure. Any ideas
or pointers would be great, links to sample scripts would be excellent.
Thanks!

Jason Soza


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Graphs...

2001-09-13 Thread Nic Skitt

Anybody got any tuts/examples of a working graph with PHP?

Cheers

Nic



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]