© 2000 Sirius Java Productions. Site Map.

Java Line Chart - Example 1

java applets
java applets


In this first example each Line has a different color.




and here is the HTML code,


<APPLET CODE="SIRline.class" WIDTH=550 HEIGHT=300>
<PARAM NAME="Title" VALUE="Sales">
<PARAM NAME="TitleFont" VALUE="5">
<PARAM NAME="xTitle" VALUE="Month">
<PARAM NAME="xTitleFont" VALUE="1">
<PARAM NAME="yTitle" VALUE="Gross Value £">
<PARAM NAME="yTitleFont" VALUE="2">
<PARAM NAME="LegendFont" VALUE="4">
<PARAM NAME="nPoints" VALUE="12">
<PARAM NAME="nSeries" VALUE="3">
<PARAM NAME="BGcolor" VALUE="1">
<PARAM NAME="LNcolor" VALUE="2">
<PARAM NAME="GDcolor" VALUE="4">
<PARAM NAME="GridSize" VALUE="30">
<PARAM NAME="TXTcolor" VALUE="2">
<PARAM NAME="Brdrwidth" VALUE="1">
<PARAM NAME="BrdrColor" VALUE="2">
<PARAM NAME="nFonts" VALUE="5">
<PARAM NAME="nColors" VALUE="9">

<PARAM NAME="FONT1" VALUE="Courier|N|12">
<PARAM NAME="FONT2" VALUE="Arial|N|12">
<PARAM NAME="FONT3" VALUE="Arial|B|12">
<PARAM NAME="FONT4" VALUE="TimesRoman|N|16">
<PARAM NAME="FONT5" VALUE="Courier|B|14">

<PARAM NAME="Color1" VALUE="220|220|255">
<PARAM NAME="Color2" VALUE="0|0|0">
<PARAM NAME="Color3" VALUE="150|50|50">
<PARAM NAME="Color4" VALUE="150|150|150">
<PARAM NAME="Color5" VALUE="200|0|0">
<PARAM NAME="Color6" VALUE="0|200|0">
<PARAM NAME="Color7" VALUE="0|0|100">
<PARAM NAME="Color8" VALUE="230|130|30">
<PARAM NAME="Color9" VALUE="30|130|130">

<PARAM NAME="Labels" VALUE="Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec">

<PARAM NAME="Series1" VALUE="7|1996|1000|1050|1150|2050|1850|1850|1600|1200|1300|1100|1150|900">
<PARAM NAME="Series2" VALUE="8|1997|1300|1350|1400|2500|2100|2000|1400|1500|1450|1300|1600|1200">
<PARAM NAME="Series3" VALUE="9|1998|1700|1650|1700|2800|2400|2400|2200|2600|1900|1600|1900|1500">

</APPLET>
For Pricing and Ordering Information Click Here !


java applets
java applets



Webmasters HyperBanner Network