Solved

CGI question

Posted on 1997-07-30
6
190 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
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 

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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

728 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