Displaying a graphical chart on the internet

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Zomis
Forum Newbie
Posts: 7
Joined: Tue Mar 11, 2003 9:32 am
Location: Sweden
Contact:

Displaying a graphical chart on the internet

Post by Zomis »

I have seen some charts at some places on the internet, like at bravenet.com (when I was a member there and used their counter), and at some online games.
And I was just wondering...how to create and display a chart on the internet?

I only have some experience with Charts from Borland Delphi, never used Charts on the internet, but I thought I could try it...

I do know some php, and also a little bit Java, and if it's possible to create charts using those languages, then HOW?
User avatar
igoy
Forum Contributor
Posts: 203
Joined: Fri May 02, 2003 11:57 pm
Location: India
Contact:

Post by igoy »

8O Dunno about JAVA dude... But yes.. :D in PHP you can do that !

you require stuff called GD library installed for your PHP. .. in other words your web server should have it installed with their PHP, as far as how to use it. . . 8) well it would be another story..and long one too. ..

:arrow: go to EvilWalrus.com for readymade codes or PHPClasses.org for readymade classes (makes life easier), also .. :idea: you can run a search programme on net to find info (believe me you will get a lot info) on PHP / GD ... :)

:twisted: Merry PHPing... adios
pootergeist
Forum Contributor
Posts: 273
Joined: Thu Feb 27, 2003 7:22 am
Location: UK

Post by pootergeist »

I'm currently working (well will be next break I get) on a class distro of the usual pie chart, line graph and bar chart as briefly detailed

here

which run under php with GD2+

The top one was written for a stock quote visualization application for some american broker - both need quite a bit of work to get them to distribution quality though.
Let me know if you want a gander at the code.
ik
Forum Commoner
Posts: 34
Joined: Thu Jul 10, 2003 5:33 am
Location: Lancs Uni, UK
Contact:

Post by ik »

Hi,
Yes PHP (GD) includes low-level graphics routines. And you can use shareware lbrary HPPlot: http://www.phplot.com to make things much yeasier. Well it isn't so impressive as Delphi tee-chart :D , but also very good - and it allows you to do exactly what you are looking for.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Regular Flash + Actionscript with PHP/mySQL backend should do the trick or the easier way, which i'm learning how...MING! =)

Ming = swf output library mod for PHP, check it out here: http://ming.sourceforge.net/index.html
User avatar
igoy
Forum Contributor
Posts: 203
Joined: Fri May 02, 2003 11:57 pm
Location: India
Contact:

Post by igoy »

Oh yeh.. how can forget Flash.... Flash can do it with much easier way... and quite impressive way also .. . moreover. . . you can user flash's native actionscript with PHP/MySQL to avoid MING routine (with all respect to MING) which can get bit cumbersome in complex stuff... :)
J4L
Forum Newbie
Posts: 4
Joined: Sat Dec 20, 2003 4:24 pm

Re: Displaying a graphical chart on the internet

Post by J4L »

You can have a look at RChat Php Edition:

http://www.java4less.com/rchartphp/index.html
Post Reply