XY Scatter Chart


<<Previous Chart Type - - - Next Chart Type >>

View Chart Gallery


Source code for this chart:

<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="DEMO-DTKTG2s3R8xNVzNVFxN">

<PARAM NAME="ChartType" VALUE="XYScatter">

<PARAM NAME="Title" VALUE="Units Sold vs. Price">
<PARAM NAME="XAxisName" VALUE="Price ($)">
<PARAM NAME="YAxisName" VALUE="Units Sold">

<PARAM NAME="DataSet_a" VALUE="Gadget 2000">
<PARAM NAME="DataSet_b" VALUE="Widget 4000">

<PARAM NAME="Value_a_1" VALUE="1000:20000">
<PARAM NAME="Value_a_2" VALUE="2000:17000">
<PARAM NAME="Value_a_3" VALUE="3000:16000">
<PARAM NAME="Value_a_4" VALUE="4000:14000">
<PARAM NAME="Value_a_5" VALUE="5000:10000">

<PARAM NAME="Value_b_1" VALUE="1500:50000">
<PARAM NAME="Value_b_2" VALUE="2500:45000">
<PARAM NAME="Value_b_3" VALUE="3500:40000">
<PARAM NAME="Value_b_4" VALUE="4500:30000">
<PARAM NAME="Value_b_5" VALUE="5500:25000">

</APPLET>

Short Explanation of the Code:
Each Value_z_x consists of a string with two values separated by ":". <PARAM NAME="Value_a_1" VALUE="1000:20000"> has the value 1000:20000 where 1000 is the X value and 20000 is the Y value.