Questions? Email us:
sales@haneng.com

 

GridStart & GridStop


Description:
GridStart and GridStop lets you to some extent set the range of the chart.

Example:
<PARAM NAME="GridStart" VALUE="0">
<PARAM NAME="GridStop" VALUE="100">

Code Samples:
Lets start with a simple chart:


View Source Code

If we are interested not so much in the total value of each bar, but in the difference between them we can make it clearer by "zooming in" using GridStart and GridStop. We can do this by adding this code between the <APPLET> tags:
<PARAM NAME="GridStart" VALUE="10000">
<PARAM NAME="GridStop" VALUE="11000">

The chart will now look like this:


View Source Code

Now the difference between the bars is much clearer. You can also just GridStart or GridStop by itself. Maybe we are more interested in how far each bar measures up to our production goal of 20,000? We can do this by setting just GridStop to 20000.
<PARAM NAME="GridStop" VALUE="20000">


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-MXTRDNsXEVKXVx">
<PARAM NAME="ChartType" VALUE="bar2">
<PARAM NAME="Text_1" VALUE="Sydney">
<PARAM NAME="Value_1" VALUE="10435">
<PARAM NAME="Text_2" VALUE="New York">
<PARAM NAME="Value_2" VALUE="10794">
<PARAM NAME="Text_3" VALUE="London">
<PARAM NAME="Value_3" VALUE="10326">
<PARAM NAME="Text_4" VALUE="Paris">
<PARAM NAME="Value_4" VALUE="10712">
<PARAM NAME="Text_5" VALUE="Berlin">
<PARAM NAME="Value_5" VALUE="10825">
</APPLET>

Code For Chart 2:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=350 HEIGHT=200>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-MXTRDNsXEVKXVx">
<PARAM NAME="ChartType" VALUE="bar2">
<PARAM NAME="GridStart" VALUE="10000">
<PARAM NAME="GridStop" VALUE="11000">
<PARAM NAME="Text_1" VALUE="Sydney">
<PARAM NAME="Value_1" VALUE="10435">
<PARAM NAME="Text_2" VALUE="New York">
<PARAM NAME="Value_2" VALUE="10794">
<PARAM NAME="Text_3" VALUE="London">
<PARAM NAME="Value_3" VALUE="10326">
<PARAM NAME="Text_4" VALUE="Paris">
<PARAM NAME="Value_4" VALUE="10712">
<PARAM NAME="Text_5" VALUE="Berlin">
<PARAM NAME="Value_5" VALUE="10825">
</APPLET>

Code For Chart 3:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=350 HEIGHT=200>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-MXTRDNsXEVKXVx">
<PARAM NAME="ChartType" VALUE="bar2">
<PARAM NAME="GridStop" VALUE="20000">
<PARAM NAME="Text_1" VALUE="Sydney">
<PARAM NAME="Value_1" VALUE="10435">
<PARAM NAME="Text_2" VALUE="New York">
<PARAM NAME="Value_2" VALUE="10794">
<PARAM NAME="Text_3" VALUE="London">
<PARAM NAME="Value_3" VALUE="10326">
<PARAM NAME="Text_4" VALUE="Paris">
<PARAM NAME="Value_4" VALUE="10712">
<PARAM NAME="Text_5" VALUE="Berlin">
<PARAM NAME="Value_5" VALUE="10825">
</APPLET>