Solved

CGI question

Posted on 1997-07-30
6
187 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
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to dynamically set the form action using jQuery.

733 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