Bubble 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="Bubble">

<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:10">
<PARAM NAME="Value_a_2" VALUE="2000:17000:20">
<PARAM NAME="Value_a_3" VALUE="3000:16000:30">
<PARAM NAME="Value_a_4" VALUE="4000:14000:40">
<PARAM NAME="Value_a_5" VALUE="5000:10000:50">

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

</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:20"> has the value 1000:20000:20 where 1000 is the X value and 20000 is the Y value and 20 is the Z value (bubble size).