Evaluation Version Limitations
You can download the evaluation version of Aspose.Chart from the download page at any moment. It is fully functional and the only difference from the licensed version is the evaluation watermark injected into output chart images:
Note: If you want to test Aspose.Chart without evaluation version limitations, you can also request a 30 Day Temporary License.
Setting the License
To set the license, use the License.SetLicense method. You can load the license from a file, embedded resource, or stream.
Loading the License from a File or Embedded Resource
To load the license from a file or embedded resource, specify a full or short file name or name of the resource. License.SetLicense tries to find the license in the following locations:
1. Explicit path.
2. The folder of the component assembly.
3. The folder of the client's calling assembly.
4. The folder of the entry assembly.
5. An embedded resource in the client's calling assembly.
If you need to switch back to evaluation mode, pass an empty string.
Example
[C#]
License license = new License();
license.SetLicense("Aspose.Chart.lic");
[VB .NET]
Dim license As License = New License
license.SetLicense("Aspose.Chart.lic")
Loading the License from a Stream
To load the license from a stream, simply pass the stream object. If you need to switch back to evaluation mode, pass null.
Example
[C#]
License license = new License();
license.SetLicense(myStream);
[VB .NET]
Dim license As License = New License
license.SetLicense(myStream)