home *** CD-ROM | disk | FTP | other *** search
- <RC$title = Bar Chart Sample>
- <RC$navurl = /samples/index.stm>
- <RC$navname = Samples>
- <RCinclude /header.stm>
- <BR>
- <FONT SIZE=5><B>JavaScript Bar Chart</B></FONT>
- <BR>
- <BR>
- This <B>fantastic</B> JavaScript barchart code was created by
- Michael Brownlow (<A HREF="http://www.wsmake.org/tools/jsbc/">
- Barchart Homepage</A>).
- I recommend you get the current complete distribution from Mike
- if you choose to use the BarChart code.
- <P>
- One bug I have found is that if the values are the same or are
- too close in range, the rounding algorithm goes into a loop.
- <BR>
- <BR>
- <FORM method=POST action="graphit.stm">
- <SELECT NAME=style>
- <OPTION VALUE=vertical SELECTED> Vertical
- <OPTION VALUE=horizontal> Horizontal
- </SELECT>
- <BR>
- Value 1 <INPUT type=text name=val1 value="100"><BR>
- Value 2 <INPUT type=text name=val2 value="200"><BR>
- Value 3 <INPUT type=text name=val3 value="300"><BR>
- Value 4 <INPUT type=text name=val4 value="400"><BR>
- Value 5 <INPUT type=text name=val5 value="500"><BR>
- Value 6 <INPUT type=text name=val6 value="600"><BR>
- <INPUT type=submit value="Graph Values">
- </FORM>
- <BR>
- <RCinclude /footer.stm>
-