Questions? Email us:
sales@haneng.com

 

Improved Axis/Grid Engine

The new Axis/Grid Engine is the biggest update to HanengCharts 3.0. Where HanengCharts 2.x used a fixed number of axis marks for each chart, HanengCharts 3.0 now dynamicaly tests and selects the number of axis marks that best fits the chart. Also the selection of the maximum and minimum values used for the axis is now more dynamic and smarter resulting in charts that looks better and are easier to read.

Example 1: Percentages
In the first example we see that when charting percentages HanengCharts 2.x shows an y-axis with a maximum value of 120, while the HanengCharts 3.0 maximum is 100 which looks much better when we are dealing with percentages.

HanengCharts 2.x
 
HanengCharts 3.0
Chart 1 Source Code


Example 2: Better maximum values
In the next example we can see how HanengCharts 3.0 chooses a higher maximum value than HanengCharts 2.x so that the resulting intervals between values on the y-axis looks better. You can also see how HanengCharts 3.0 uses more axis marks to draw a better axis.

HanengCharts 2.x
 
HanengCharts 3.0
Chart 2 Source Code


Example 3: Better maximum values 2
This is even more clear in this example:

HanengCharts 2.x
 
HanengCharts 3.0
Chart 2 Source Code


Source code for charts:

Chart 1:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-LWKHNzx93SKM2H">

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

<PARAM NAME="PostFix" VALUE="%">

<PARAM NAME="Value_1" VALUE="50">
<PARAM NAME="Value_2" VALUE="95">

</APPLET>

Chart 2:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-LWKHNzx93SKM2H">

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

<PARAM NAME="Value_1" VALUE="34555">
<PARAM NAME="Value_2" VALUE="64751">

</APPLET>

Chart 3:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-LWKHNzx93SKM2H">

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

<PARAM NAME="Value_1" VALUE="0.3">
<PARAM NAME="Value_2" VALUE="0.2">

</APPLET>



Back >>