






























Questions? Email us:
sales@haneng.com
|
|
How do I install my purchased HanengCharts license?
Upgrading from HanengCharts 2.x? Click here for important information.
It is very easy, just follow the steps below:
Step 1: Downloading the demo
First you need to download our demo software from the download page.
Using the license key(s) you have bought we will unlock the full version of HanengCharts in step 4.
Step 2: Uploading the HanengCharts3.jar file
Unzip the demo download (using e.g. WinZip) and place
the HanengCharts3.jar file in each directory you want to use HanengCharts on your web server.
Step 3: Adding HanengCharts to your page
Now open the HTML or script files where you want to use HanengCharts and insert the following code
using your favorite web editor or any text editor (like Notepad). Place
the code where you want the chart to appear:
<-- HanengCharts Code Starts Here -->
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=450 HEIGHT=250>
<PARAM NAME="ChartType" VALUE="pie">
<PARAM NAME="LicenseKey" VALUE="Insert Your License Key Here">
<PARAM NAME="Value_1" VALUE="7212">
<PARAM NAME="Text_1" VALUE="Team 1">
<PARAM NAME="Value_2" VALUE="2137">
<PARAM NAME="Text_2" VALUE="Team 2">
</APPLET>
<-- HanengCharts Code Ends Here -->
Step 4: Inserting your license key
Now you need to cut and paste the license key(s) that you received in the email after purchasing your
HanengCharts license(s) into the HanengCharts HTML code. Inside the email you will see one or more
lines of text looking something like this:
License key for www.yourdomain.com: XXXXXXXXXXX
Instead of www.yourdomain.com it will say the domain or IP
address that you have purchased a license for and instead of XXXXXXXXXXX
will be a code that consists of a series of letters, numbers and special characters.
Now cut and paste the license key code out of the email and into the HanengCharts HTML code
over where it says Insert Your License Key Here. If you have been using
a demo license key, then just paste the key over the demo license key. So in our case the
HanengCharts HTML code will look like this:
<-- HanengCharts Code Starts Here -->
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=450 HEIGHT=250>
<PARAM NAME="ChartType" VALUE="pie">
<PARAM NAME="LicenseKey" VALUE="XXXXXXXXXXX">
<PARAM NAME="Value_1" VALUE="7212">
<PARAM NAME="Text_1" VALUE="Team 1">
<PARAM NAME="Value_2" VALUE="2137">
<PARAM NAME="Text_2" VALUE="Team 2">
</APPLET>
<-- HanengCharts Code Ends Here -->
If you have more than one license key then you can add them (up to 5 keys per
chart) using the LicenseKey2, LicenseKey3,
LicenseKey4 and LicenseKey5
PARAM tags. So if I had two more license keys
that where YYYYYYYYYYY and ZZZZZZZZZZZ
the code would look like this:
<-- HanengCharts Code Starts Here -->
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=450 HEIGHT=250>
<PARAM NAME="ChartType" VALUE="pie">
<PARAM NAME="LicenseKey" VALUE="XXXXXXXXXXX">
<PARAM NAME="LicenseKey2" VALUE="YYYYYYYYYYY">
<PARAM NAME="LicenseKey3" VALUE="ZZZZZZZZZZZ">
<PARAM NAME="Value_1" VALUE="7212">
<PARAM NAME="Text_1" VALUE="Team 1">
<PARAM NAME="Value_2" VALUE="2137">
<PARAM NAME="Text_2" VALUE="Team 2">
</APPLET>
<-- HanengCharts Code Ends Here -->
Now save your HTML or script file and upload it to your web server.
Step 5: Viewing and modifying your chart
Now open your web browser and open the page that you have been adding HanengCharts to.
It should now display a pie chart. To make other charts, insert your own data etc.
you need to modify the HanengCharts HTML code. A full list of all the allowed
values can be found in the documentation.
Some more examples of code can be found in the zip file that you downloaded in step 1
and in the HanengCharts & HTML White paper.
Examples using ASP, JSP, PHP, CGI and ColdFusion can be found in the
Developers Zone. If you need help with HanengCharts
please visit the support section.
Having problems with installing your HanengCharts license?
Please contact us at: sales@haneng.com
Upgrading from HanengCharts 2.x
HanengCharts 3.1 is 99% compatible with HanengCharts 2.x. The major difference
is the new name of the JAR file (HanengCharts2.jar -> HanengCharts3.jar).
And since the new JAR file has a new name you can use HanengCharts 2.x
and HanengCharts 3.1 side by side if needed.
All though some chart types have changed names, the old names is still
recognized. The two exceptions are "Bar", new name "HorizontalBar", and "Pie", new name "3DPie".
Also some charts might look and behave slightly different with the new
charting engine (for example: left side Y-axis is now default)
so we recommend testing your charts before you publish them.
Step 1: Downloading the demo
First you need to download our demo software from the download page.
Step 2: Uploading the HanengCharts3.jar file
Unzip the demo download (using e.g. WinZip) and place
the HanengCharts3.jar file in each directory where you have the HanengCharts2.jar file on your web server.
Step 3: Update the HanengCharts code
You need to update the HanengCharts code on each page of your site.
First update the APPLET tag from HanengCharts2.jar to HanengCharts3.jar.
Secondly replace your old license keys with your HanengCharts 3.1 license keys.
Old code:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts2.jar" WIDTH=450 HEIGHT=250>
<PARAM NAME="LicenseKey" VALUE="OLD-KEY">
New code:
<APPLET CODE="HanengCharts.class" ARCHIVE="HanengCharts3.jar" WIDTH=450 HEIGHT=250>
<PARAM NAME="LicenseKey" VALUE="NEW-KEY">
Tips:
You can work around having to change the APPLET tag from HanengCharts2.jar to HanengCharts3.jar if you
rename the HanengCharts3.jar to HanengCharts2.jar and overwrite all the old HanengCharts2.jar files
with the new one. You will however still have to update the license keys.
If you have any problems please contact us: sales@haneng.com
|
|