ChartDirector 7.1 (.NET Edition)

Installation


Installing ChartDirector for .NET

ChartDirector for .NET is distributed as a zip file. Windows may block DLLs in downloaded zip files, so before you can use it, please unblock it first.

After unblocking, simply extract the zip file to the directory you want ChartDirector to be located.

The ChartDirector documentation is in the "ChartDirector\doc" subdirectory in compiled HTML (CHM) format. On Windows, you can read CHM documentation by simply double clicking on the CHM file.

Running ChartDirector Sample Programs

ChartDirector for .NET includes a lot of sample programs for various application types. They are designed as tutorials and examples on how to use ChartDirector. It is strongly recommended that you try at least one set of sample programs.

Application FrameworkLocation
Windows Forms (.NET Core/.NET 5 or later)ChartDirector\NetCoreWinCharts
WPF (.NET Core/.NET 5 or later)ChartDirector\NetCoreWPFCharts
ASP.NET Core Razor Pages (.NET Core/.NET 5 or later)ChartDirector\NetCoreRazorCharts
ASP.NET Core MVC (.NET Core/.NET 5 or later)ChartDirector\NetCoreMvcCharts
Windows Forms (.NET Framework)ChartDirector\NetWinCharts
WPF (.NET Framework)ChartDirector\NetWPFCharts
ASP.NET Web Forms (.NET Framework)ChartDirector\NetWebCharts
ASP.NET MVC (.NET Framework)ChartDirector\NetMvcCharts

Installing Controls in Visual Studio Toolbox

Certain .NET application types, such as Windows Forms, WPF and ASP.NET Web Forms, can use controls. ChartDirector comes with the following controls for these application types:

For Visual Studio 2017 15.9 and later versions, when you reference the ChartDirector NuGet package in your project, Visual Studio should automatically add the controls to its toolbox for that project. So installing the controls is optional. See "Using ChartDirector in Your Own Projects" below for more details.

You may want to install the controls if you are using older versions of Visual Studio, or if you want the controls in the toolbox for all projects without using NuGet. Note that as of Visual Studio 2019, only .NET Framework controls can be installed without using NuGet.

Installing Visual Studio Integrated Help

The ChartDirector distribution includes documentation in CHM (Compiled HTML Help) format, which is readable in all Windows computers. The ChartDirector Visual Studio Integrated Help is the same content installed into the Visual Studio help viewer and integrated into Visual Studio Intellisense. It provides the following features:

To install ChartDirector Visual Studio Integrated Help, please download it from http://www.advsofteng.com/download.html and follow the installation instructions on the download page.

Using ChartDirector in Your Own Projects

In order to use ChartDirector in a project, it needs to reference the ChartDirector assembly. It can be done using one of the following methods:

Using ChartDirector On Linux

Certain .NET application types (such as ASP.NET Core MVC) can run on Linux, but Visual Studio will not automatically pack the necessary Linux runtime with your application. If you do want to run your application on Linux, depending on the Linux type, please add one of the following Microsoft NuGet package to your project:

Installing the ChartDirector License

If you have purchased a license to use ChartDirector, you should have a license key delivered to your via email and postal mail. Please install the license key as according to the following instructions.

Even without a license key, ChartDirector will work normally, but the charts will include a yellow bar at the bottom that marks the charts as produced by the "unregistered" ChartDirector. You can freely test ChartDirector for as long as necessary.

If your license key is for upgrading from a previous version of ChartDirector, please append the upgrade license key to the previous version license key, and use the combined license key.

ChartDirector Developer License

Please follow the steps below to install the license key for the "ChartDirector Developer License":

The license file should remove the "unregistered" message on the charts. If the license file appears to have no effect, please refer to http://www.advsofteng.com/license_diag.html for trouble-shooting instructions.

ChartDirector Redistribute License

The "ChartDirector Redistribute License" can be installed using the same method as that of the "ChartDirector Developer License". If your application is distributed as a compiled executable, you can compile the license key directly into the executable. This avoids redistributing the license file. To do this, simply add a line in your code to call Chart.setLicenseCode and pass the license key as the argument.

[VB]Chart.setLicenseCode(".....your-license-key.....")
[C#]Chart.setLicenseCode(".....your-license-key.....");