ChartDirector License Installation
*** Note ***: This page is for ChartDirector 6.3 or later. For earlier versions of ChartDirector, please refer to ChartDirector License Installation for version 6.2 or earlier.
ChartDirector Developer License Installation
ChartDirector Redistribute License Installation
For applications distributed as compiled code, you can embed the license key into the complied code by calling the setLicenseCode API in the code as follows:

Programming LanguagesetLicenseCode Usage
C++Chart::setLicenseCode("Your-License-Key");
C#/JavaChart.setLicenseCode("Your-License-Key");
VB.NETChart.setLicenseCode("Your-License-Key")
VB6/VBA/VBScriptCall cd.setLicenseCode("Your-License-Key")
Python/PHPsetLicenseCode("Your-License-Key");
Perlperlchartdir::setLicenseCode("Your-License-Key");

In the code above, please replace "Your-License-Key" with your actual license key. The API needs to be called once per application instance before using ChartDirector. (There is no harm if it is called more than once.) Typically, it is called during application initialization.
Upgrade and Software Subscription License Installation
The upgrade key for a "Upgrade and Software Subscription License" is installed by appending it to an existing ChartDirector license key of the same type. For example, if you have a license key for "ChartDirector Developer License for Windows/Linux/FreeBSD", you can append an upgrade key for that type of license to the license key. This will upgrade the license key by one major version, and extend the upgrade period of the license key by one year. You can append multiple upgrade keys to extend the license key for multiple versions and years.
Support
If you cannot install the license, please try Trouble-Shooting ChartDirector License Installation to see if it can solve the problem. If you need further help, please contact support@advsofteng.net,