






























Questions? Email us:
sales@haneng.com
|
|
More Grid Settings
In HanengCharts 2.x the only way to hide the background grid for a chart was
to set the grid color to the same as the background color. With the introduction of the new
parameter Grid you can choose to have grid lines for both
the y direction and the x direction, for only one of the directions or for none.
Default Grid Setting
Chart 1 Source Code
Grid = None
Chart 2 Source Code
Grid = YOnly
Chart 3 Source Code
Grid = XOnly
Chart 1 Source Code
Grid = All
Chart 3 Source Code
Source code for charts:
Chart 1:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-KXDC6Sx3UsSHED">
<PARAM NAME="ChartType" VALUE="Bar">
<PARAM NAME="Value_1" VALUE="10">
<PARAM NAME="Value_2" VALUE="20">
<PARAM NAME="Value_3" VALUE="30">
<PARAM NAME="Value_4" VALUE="40">
</APPLET>
Chart 2:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-KXDC6Sx3UsSHED">
<PARAM NAME="ChartType" VALUE="Bar">
<PARAM NAME="Grid" VALUE="None">
<PARAM NAME="Value_1" VALUE="10">
<PARAM NAME="Value_2" VALUE="20">
<PARAM NAME="Value_3" VALUE="30">
<PARAM NAME="Value_4" VALUE="40">
</APPLET>
Chart 3:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-KXDC6Sx3UsSHED">
<PARAM NAME="ChartType" VALUE="Bar">
<PARAM NAME="Grid" VALUE="YOnly">
<PARAM NAME="Value_1" VALUE="10">
<PARAM NAME="Value_2" VALUE="20">
<PARAM NAME="Value_3" VALUE="30">
<PARAM NAME="Value_4" VALUE="40">
</APPLET>
Chart 4:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-KXDC6Sx3UsSHED">
<PARAM NAME="ChartType" VALUE="Bar">
<PARAM NAME="Grid" VALUE="XOnly">
<PARAM NAME="Value_1" VALUE="10">
<PARAM NAME="Value_2" VALUE="20">
<PARAM NAME="Value_3" VALUE="30">
<PARAM NAME="Value_4" VALUE="40">
</APPLET>
Chart 5:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=400 HEIGHT=350>
<PARAM NAME="LicenseKey" VALUE="30DAYDEMO-KXDC6Sx3UsSHED">
<PARAM NAME="ChartType" VALUE="Bar">
<PARAM NAME="Grid" VALUE="All">
<PARAM NAME="Value_1" VALUE="10">
<PARAM NAME="Value_2" VALUE="20">
<PARAM NAME="Value_3" VALUE="30">
<PARAM NAME="Value_4" VALUE="40">
</APPLET>
Back >>
|
|