Trends Chart
A Simple Utility for drawing Trend Charts.
NB Click on the colours in the Legend to see it animate.

<Applet Tag>

<APPLET CODE=Main.class WIDTH=800 HEIGHT=300 ARCHIVE="Bar.jar">
<PARAM NAME="values0" VALUE="11,12,14,16,10,12,21,15,14,17,13,12,15,15,23,12,12,11,12,14,16,10,12,21,15,14,17,13,12,15,15,23,12,12">
<PARAM NAME="values1" VALUE="10,12,21,15,14,17,13,12,15,15,23,12,12,11,12,14,16,10,12,21,15,14,17,13,12,15,15,23,12,12,11,12,14,16">
<PARAM NAME="units" VALUE="£">
<PARAM NAME="unitprompt" VALUE="+">
<PARAM NAME="unitdec" VALUE="2">
<PARAM NAME="series" VALUE="2">
<PARAM NAME="title" VALUE="Months">
<PARAM NAME="colour" VALUE="255,189,10,189,49,8,189,49,8">
<PARAM NAME="data1" VALUE="Net Profit">
<PARAM NAME="data2" VALUE="Gross Profit">
</APPLET>


Parameters
Values0
A list of comma seperated values, upto 40 numbers in length, giving values between any range for chart 0.
Values1
A list of comma seperated values, upto 40 numbers in length, giving values between any range for chart 1.
Values2
A list of comma seperated values, upto 40 numbers in length, giving values between any range for chart 2.
units
A String consisting of the units value as should appear on the chart, examples include "£","units".
unitprompt
A single character, "-" or "+", "-" indicating that the units variable is shown after the value, "+" before, i.e. "+" with a units value of "£" would give labels of the type "£20", whereas "-" would give labels of the type "20£".
unitdec
Number of decimal places for Y-axis labels.
series
Number of data series in parameter list, upto 3.
title
A title for the chart.
colour
A list of comma seperated values, in groups of three, indicating red, green and blue levels for each data series chart colour.
data1
A title for data series 0.
data2
A title for data series 1 .
data3
A title for data series 2.


Download Bar.jar