






























Questions? Email us:
sales@haneng.com
|
|
IgnoreMissingValues
Description:
IgnoreMissingValues is useful where you have a gap in e.g. a line chart and you rather want
the disconected datapoints to connect directly to each other.
Example:
<PARAM NAME="IgnoreMissingValues" VALUE="true">
Code Samples:
Lets start with a simple chart:
View Source Code
Since we do not have a value for Day 4 we get a gap in our chart.
To remove this gap and to connect the data point for Day 3 with Day 5
lets set IgnoreMissingValues to true by adding this code between the <APPLET> tags:
<PARAM NAME="IgnoreMissingValues" VALUE="true">
The chart will now look like this:
View Source Code
Sample Chart Source Code:
Code For Chart 1:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=350 HEIGHT=200>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-KPutxH7E5TLxMZ">
<PARAM NAME="ChartType" VALUE="line">
<PARAM NAME="Text_1" VALUE="Day 1">
<PARAM NAME="Value_1" VALUE="435">
<PARAM NAME="Text_2" VALUE="Day 2">
<PARAM NAME="Value_2" VALUE="794">
<PARAM NAME="Text_3" VALUE="Day 3">
<PARAM NAME="Value_3" VALUE="389">
<PARAM NAME="Text_4" VALUE="Day 4">
<PARAM NAME="Text_5" VALUE="Day 5">
<PARAM NAME="Value_5" VALUE="825">
<PARAM NAME="Text_6" VALUE="Day 6">
<PARAM NAME="Value_6" VALUE="565">
<PARAM NAME="Text_7" VALUE="Day 7">
<PARAM NAME="Value_7" VALUE="712">
</APPLET>
Code For Chart 2:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=350 HEIGHT=200>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-KPutxH7E5TLxMZ">
<PARAM NAME="ChartType" VALUE="line">
<PARAM NAME="IgnoreMissingValues" VALUE="true">
<PARAM NAME="Text_1" VALUE="Day 1">
<PARAM NAME="Value_1" VALUE="435">
<PARAM NAME="Text_2" VALUE="Day 2">
<PARAM NAME="Value_2" VALUE="794">
<PARAM NAME="Text_3" VALUE="Day 3">
<PARAM NAME="Value_3" VALUE="389">
<PARAM NAME="Text_4" VALUE="Day 4">
<PARAM NAME="Text_5" VALUE="Day 5">
<PARAM NAME="Value_5" VALUE="825">
<PARAM NAME="Text_6" VALUE="Day 6">
<PARAM NAME="Value_6" VALUE="565">
<PARAM NAME="Text_7" VALUE="Day 7">
<PARAM NAME="Value_7" VALUE="712">
</APPLET>
|
|