?
Solved

CGI question

Posted on 1997-07-30
6
Medium Priority
?
191 Views
Last Modified: 2013-12-25
I am looking for a Unix-based graphing/charting program that will enable me to set up a website for a stockbrokerage company.  I would like to find a server-side product that will generate .GIF charts/graphs from input from a text-based data file.  This needs to be something that even the AOL netsurfers can view, so probably no java applets...  Any ideas?
0
Comment
Question by:transit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:dmethvin
ID: 1829481
The problem with creating big graphs with GIFs is that they tend to be large and take a long time to download. For simple bar charts you could use stretched bitmaps inside tables. That works on the AOL 2.0 browser which has been out for about a year, and with table shading you can get some nice looking output. Here's an example of a horizontal bar chart comparing cats and dogs. (You need to create a small red and blue gif to make this work.)

<TABLE BGCOLOR="#FFE0FF">
<TR>
<TD>Cats</TD>
<TD><IMG SRC="red.gif" HEIGHT=5 WIDTH=120></TD>
</TR><TR>
<TD>Dogs</TD>
<TD><IMG SRC="blue.gif" HEIGHT=5 WIDTH=33></TD>
</TABLE>

There's another example at
http://www.winmag.com/web/tips/randtest.htm
that uses JavaScript.

Of course, if you need pie or line charts then reject this answer...
0
 

Author Comment

by:transit
ID: 1829482
Actually, I am looking for line graphs and more...

Good suggestions though!!

Thanks anyway!
0
 
LVL 5

Expert Comment

by:icd
ID: 1829483
I did something very similar to this for a bank intranet system. The solution I used there was to combine Tcl scripting language with GD a graphics library.

My preferred solution nowadays would be to get the GD extensions for Perl.

Although GD does not have any high level routines, mostly line drawing, polygon fills, simple text (only three standard fonts) I did develop it to produce some nice bar charts and pie charts for the bank.

Unfortunately I cannot let you have the source code (I don't even have it myself).

If this is the sort of thing you want then I can look up the URL for the perl version of GD. (Although most good perl resources should have a link to it).
0
More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

 

Author Comment

by:transit
ID: 1829484
This is not a rejection!  Can you send me the URL for the Perl extensions to GD?

Also, how much programming did it take on your part?  Did you have to install GD on the server first?  Do you think that this would possibly work on a shared server (ISP)?

Thanks for your help, icd!
0
 
LVL 5

Accepted Solution

by:
icd earned 0 total points
ID: 1829485
The GD library can be found at:-

http://www.boutell.com/

I am not absolutely sure about how it is installed for perl, I believe there may be a way of using it without needing the webmaster to install it for you but I have had no experience with this on perl.

As for how much programming it took. It depends on how good you are! ISTR it took about 3 or 4 days or so programming to produce a library of routines that I could slot into any array of data.
0
 

Author Comment

by:transit
ID: 1829486
Thanks for the information!!!!

- transit
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question