You can make a easy to alter webpage version that looks something like this - widgets galore and let them edit away.
<HTML> <HEAD> <TITLE> GraphMaker 2.1 </TITLE> </HEAD> <BODY BGCOLOR="#ffffff"> <!-- <SERVICE NAME="geoguide"> --> <table bgcolor=#666666 cellpadding=1 cellspacing=0 border=0 width=468> <tr><td><table bgcolor=#eeeeee cellpadding=2 cellspacing=0 border=0 wi +dth=100%> <tr><td bgcolor="FFFFFF"><a href="http://geocities.yahoo.com/addons/in +teract/mbe.html"><IMG SRC="http://pic.geocities.com/images/mbe/mbeFFF +FFF.gif" ALT="Yahoo! GeoCities Member Banner Exchange" WIDTH="335" HE +IGHT="20" border=0></a></td> <td align=right bgcolor="FFFFFF"><font face="Arial" size="-1"><a href= +"http://geocities.yahoo.com/addons/interact/mbe.html">Info</a></font> +&nbsp;</td></tr></table></td></tr> </table> <table cellpadding=0 cellspacing=0 width=468 border=0> <tr><td valign=top height=1></td></tr> <tr><td valign=top><SCRIPT LANGUAGE="javascript" src="http://us.toto.g +eo.yahoo.com/toto?s=76001074&b=2"></SCRIPT></td></tr> </table> <!-- </SERVICE> --> <H1>GraphMaker</H1> <H2>by <A HREF="mailto:Pivari@geocities.com">Fabrizio Pivari</A></H2> <H3>version 2.1 1997/06/19</H3> <P> <FORM METHOD="post" ACTION="http://www.agip.it/cgi-bin/GRAPH.cgi"> <TABLE BORDER=0 CELLSPACING=2 CELLPADDING=2> <TR> <TD VALIGN=top> <B>Data</B>:<BR> <TEXTAREA NAME="Data" ROWS=31 COLS=15> 2 6890 3 7250 4 7560 5 6964 6 6510 9 6725 10 7500 11 7690 12 7640 13 6640 16 6910 17 6980 18 7180 19 7290 20 6840 23 7450 24 7330 25 7290 26 7200 27 7590 30 7345</TEXTAREA> </TD> <TD VALIGN=top> <B>Separator</B>: <input name="separator" value=" " size=1> (Default i +s blank)<BR> <B>Min Y Value</B>: <input name="MINYVALUE" value="6400" size=10><BR> <B>Max Y Value</B>: <input name="MAXYVALUE" value="7800" size=10><BR> <B>Title</B>: <input name="Title" value="GraphMaker 2.1" size=50><BR> <B>Month</B>: <input name="MONTH" value="" size=2> (Default is the cur +rent) Remember 0 is January, 1 February and so on<BR> <B>Year</B>: <input name="YEAR" value="" size=2> (Default is the curre +nt)<BR> <B>Line Graph<INPUT TYPE="radio" NAME="Bar" value="0" CHECKED> Bar Gra +ph</B><INPUT TYPE="radio" NAME="Bar" value="1"><BR> <B>Average Line</B><INPUT TYPE="checkbox" NAME="Average" value="1" CHE +CKED><BR> <B>Colours:</B><BR> <TABLE BORDER=0> <TR> <TD><INPUT TYPE="checkbox" NAME="Transparent" value="yes" CHECKED>< +/TD> <TD>Transparent Background</TD> </TR> <TR> <TD> <TR> <TD> <input name="Rbgcolour" value="255" size=3> <input name="Gbgcolour" value="255" size=3> <input name="Bbgcolour" value="255" size=3> </TD> <TD>Background Colour in RGB mode</TD> </TR> <TR> <TD> <input name="Rfgcolour" value="0" size=3> <input name="Gfgcolour" value="0" size=3> <input name="Bfgcolour" value="0" size=3> </TD> <TD>Foreground Colour in RGB mode</TD> </TR> <TR> <TD> <input name="Rcolour" value="0" size=3> <input name="Gcolour" value="0" size=3> <input name="Bcolour" value="255" size=3> </TD> <TD>Line Colour in RGB mode</TD> </TR> <TD> <input name="Racolour" value="255" size=3> <input name="Gacolour" value="255" size=3> <input name="Bacolour" value="0" size=3> </TD> <TD>Average Line Colour in RGB mode</TD> </TR> </TABLE> </TD> </TR> </TABLE> Press <INPUT TYPE="submit" VALUE="here"> to submit your query. </FORM> NOTE! If the gif isn't correct you have to repost the result with the button Reload.<P> After saving your Graph you can use the gif to <A HREF="VRML.html">create a graph Texture Map in VRML</A>.<P> <A HREF="GraphMaker.tar.gz"> Source Code</A><P> <IMG SRC="new.gif" WIDTH=28 HEIGHT=11>You can also find the source cod +e at <A HREF="http://www.perl.org/CPAN/authors/Fabrizio_Pivari"> CPAN authors/Fabrizio_Pivari/</A><P> <IMG SRC="new.gif" WIDTH=28 HEIGHT=11>With version 2.0 in the source c +ode you can find a CGI-BIN program with the same features of the PERL script <IMG SRC="new.gif" WIDTH=28 HEIGHT=11><P> <H2>Usage for the stand alone script</H2> <PRE> graphmaker [-options ...] where options include: -help print out this message -conf file the configuration file (default graph +maker.cnf) </PRE> If you want to change the default parameters you have to edit graphmak +er.cnf (de fault) or you can to use other configuration file using the option [-conf fil +e]<P> These are the parameters that you can change in graphmaker.cnf<P> <PRE> # # Configure the value of the variables # # It's better if $MAXVALUE -$MINVALUE is a $NUMBERYCELLGRIDESIZE divis +ible # number NUMBERYCELLGRIDSIZE: 8 MAXYVALUE: 7748 MINYVALUE: 6500 XCELLGRIDSIZE: 18 # both 01 or 2001 are correct # Remember 0 is January, 1 February ... YEAR: 01 MONTH: 5 #($MONTH,$YEAR) = (localtime(time))[4,5]; # input file in the form # day:number Data: ./graphmaker.dat # output gif Graph: ./graphmaker.gif # $Bar: 1 Bar Diagram Bar: 1 # $Average: 1 for Average Line Average: 1 #$Title: Graph Maker 2.1 Title: Whatever you want it to be # # Colour # Default Transparent Background: yes Transparent: no # Background RGB Colour: 255,255,255 Rbgcolour: 0 Gbgcolour: 255 Bbgcolour: 255 # Foreground RGB Colour: 0,0,0 Rfgcolour: 0 Gfgcolour: 0 Bfgcolour: 0 # Default line or bar RGB Colour: 0,0,255 Rcolour: 0 Gcolour: 0 Bcolour: 255 # Average colour Racolour: 255 Gacolour: 255 Bacolour: 0 </PRE> </BODY> </HTML>

In reply to Re: CGI bar-graph maker by JSchmitz
in thread CGI bar-graph maker by BigJoe

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.