Solved

CGI question

Posted on 1997-07-30
6
179 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
  • 3
  • 2
6 Comments
 
LVL 2

Expert Comment

by:dmethvin
Comment Utility
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
Comment Utility
Actually, I am looking for line graphs and more...

Good suggestions though!!

Thanks anyway!
0
 
LVL 5

Expert Comment

by:icd
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:transit
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for the information!!!!

- transit
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now