Skip to main content
Version: 5.2.1

Web deployment

Web deployment licenses are used for deployment scenarios where your LightningChart JS application is deployed to a specific domain. This can be a public domain or internal domain, as long as it doesn't change afterwards. When using a Web deployment license, internet connection is not required.

All licenses are accessed through Customer Portal. When licenses are purchased, they are assigned to 1 Portal account ("Team manager").

The Team manager can access their purchased Web deployment licenses through Portal > Deployment Domains.

Configuring web deployment domains

If a Team manager has a web deployment license that is not domain-locked yet, they will see a button for "Set Deployment Domains" in Portal > Deployment Domains

Picture from Customer Portal, showing set deployment domains button

Under "Set Deployment Domains", the Team manager can configure a combination of domains and subdomains that the license will work under. The amount of domains is decided on purchase, but can also be extended afterwards. The domains are sold in bundles of 1 domain + 2 subdomains of that domain.

Picture from Customer Portal, domain lock plan

Example case:

Domain: lightningchart.com

Allows running on:

  • www.lightningchart.com
  • lightningchart.com
  • m.lightningchart.com
  • subdomain1.lightningchart.com (subdomain1 can be freely decided)
  • subdomain2.lightningchart.com (subdomain2 can be freely decided)

Please note that configured domains can't be changed afterwards!

More detailed guide on deployment domains can be found here.

If the domain-lock plan is altered, the web deployment license key has to be re-generated before changes take effect.

Accessing web deployment license key

If a Team manager has a domain-locked Web deployment license, they will see it listed in Portal > Deployment Domains.

They will also have access to a button: "Get Deployment Key", which generates a license key you can use when deploying to the configured domains. The license key is used in same way as other licenses.

Picture from Customer Portal, showing get deployment key button

const lc = lightningChart({
license: 'web deployment license key'
})
const chart = lc.ChartXY()

Test domain

Customers with a web deployment license also have access to 1 test domain. This can be used for staging environments, or other suitable purpose. The test domain can be set to any domain, and the charts will work when running in that domain. However, there will be a rather large watermark over the charts.

Picture from Customer Portal, showing test domain field

If the test domain field is altered, the web deployment license key has to be re-generated before changes take effect.

License version selector

When generating or downloading license keys, there is a version selector widget (0001, 0002, etc.). This is needed for legacy support of older LightningChart JS versions. Use 0002 if you are using LightningChart v4.0.0 or higher, otherwise use 0001.