Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display graphic on a html page by usring PERL

Status
Not open for further replies.

Hongkongian

IS-IT--Management
Oct 23, 2002
14
HK
Dear all,
I would like to display a pie chart and a bar chart on screen through a browser. I had extracted the data from MySQL database and format it as table format:
Key 1 Value 1
Key 2 Value 2
:
Key N Value N

I had already installed the CGI and GD modules,
but I don't know how to put it together in a perl program and display it as a graphic chart through a HTML page.

Thanks for help !!!
 
Instead of using GD, you might want to consider a program called GraphViz.

You can go to to find an article by Randal Schwartz that allows you to do exactly what you want.

All of his source code is included there as well.

Hope this helps.

-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top