Page 1 of 1

Looking for ready-to-go charts and diagrams

Posted: Thu Oct 21, 2004 4:09 am
by Tubbietoeter
Hi there,

I want do display some line-charts and found a tool called "PanaChart". This is really neat, easy to configure and all, but unfortunately is sends "Header('Content-Type: image/png');" which doesn't allow you to put HTML code around the graph.
Now it is not really convenient to include all the graphs in seperate frames, but I want to include them into text.

Does someone know something like "PanaChart" that doesn't send those headers? Or can I tweak this so I get it to work as I need it? I really have no time to do hardcore gd learning.
The tool must be open source and free to use, since this will be used on a corporate intranet.

Thanks in advance,

Steff

Posted: Thu Oct 21, 2004 4:40 am
by mudkicker
There are many scripts like this
look at these sites:

http://www.hotscripts.com
http://phpresourceindex.com

Posted: Thu Oct 21, 2004 5:51 am
by qads
could link to the gd image useing the image tag

Code: Select all

<img src="gd.php">
you can also pass the vars via GET, i.e. gd.php?x=45&y=12.

Posted: Thu Oct 21, 2004 6:06 am
by Tubbietoeter
qads wrote:could link to the gd image useing the image tag

Code: Select all

<img src="gd.php">
you can also pass the vars via GET, i.e. gd.php?x=45&y=12.
I would NEVER EVER have thought of something like that but actually it makes sense ... :lol:

I'm gonna try it right away, thanks a lot!!

PHP can really be cool ... ;o) .. .you just have to know how to use it ... he he

Posted: Thu Oct 21, 2004 8:04 am
by timvw
i found panachart to be a major PITA

http://quimby.gnus.org/circus/chart/chart-manual.php
http://www.ruistech.com/phpBarGraph

got better evaluations ;)

Posted: Thu Oct 21, 2004 8:09 am
by m3mn0n
I recommend premaking the charts, as opposed to processing the chat making script for every single user request. It will boost script execution time, and it will be less stressful on your servers.

What you need to do to set that up is schedule a time to process them with cron (if you're on a Linux/Unix server only). Then simply call the image output of the script cron processed.

More info: [google]linux cron information cpanel setup help[/google]

Posted: Thu Oct 21, 2004 8:48 am
by Tubbietoeter
@Tim: true, those look way better. PanaChart was just the first real free thing I've found. Thanks for the links I'll have a look at it.

@Sami: You are right, but it will not be that many users. This is about availability measurements of some of our systems and giving some (graphical) overviews.
I might even do a cron job, will see whether it is possible to create PDF Files and mail them (this would come in really handy), but I will worry about this later, right now I don't have clear wishes from my customers.