ClassX Grapher
A Simple Utility for drawing Graphs.

Functionality
On this screen a Pie Chart is shown, by selecting an item from the list on the right, an appropriate pie slice is exploded from the pie. By clicking on the label marked EDIT in the bottom right of the applet you are taken to the next screen.
On the left are two list components, the first is the selection for the label to be used in the graph. The one below it is to choose the column for the data for the graph, those options not selectable are disabled. Next at the top is a RadioGroup selection for the type of graph you want, select from Pie Chart, Bar Chart, Horizontal Bar Chart or nothing. Below this RadioGroup is a list of all the elements in the chosen column (all the data labels). In the bottom left are a button labelled next, which takes you on to the original screen of the chart, or back which takes you back to the datagrid displaying the original data.
The datagrid's functionality can be found on the datagrid page. But there are also 3 buttons, Crop will delete everything in the table except that selected, delete will remove those rows or columns selected, whilst reload will return the datagrid to the original data from the data file.


<Applet Tag>

<APPLET CODE=Main.class archive="ClassX2_Grapher.jar" WIDTH=800 HEIGHT=340 codebase="http:\\www.n.oman.btinternet.co.uk\">
<PARAM NAME="data" VALUE="data.txt">
<PARAM NAME="sort" VALUE="6">
<PARAM NAME="graph" VALUE="0">
<PARAM NAME="col1" VALUE="5">
<PARAM NAME="col2" VALUE="3">
</APPLET>


Parameters
data
The name of the file in the website holding the data. Properties of this file can be found on the datagrid page.
sort
The column number by which the data is to be originally sorted.
graph
The graph type to be used, 0 is Pie Chart, 1 is Bar Chart, 2 is Horizontal Bar Chart.
col1
The column number to be used for the data labels.
col2
The column number to be used for the data values.


Download ClassX2_Grapher.jar