• Function for initializing the LightningChart library.

    Returns the main interface of LCJS, which is used to create all top level components - charts and dashboards.

     const lcjs = lightningChart({
    // Either supply license number, or omit for automatic community license.
    // license: 'my-license-number'
    })

    // Create charts...
    const chart = lcjs.ChartXY()

    Returns

    A LightningChart object for creating Charts and components.

    Parameters

    • Optional arg1: string | LightningChartOptions

      Object containing any properties supported by LightningChartOptions interface. Most importantly used for supplying license information. string license can be supplied to support old syntax, but this will be deprecated eventually, consider using { license: 'my-license' } syntax instead.

    • Optional arg2: AppDeploymentLicenseInformation

      Additional information for license verification. Only required by Application Deployment license. Consider using { licenseInformation: ... } arg1 syntax instead.

    Returns LightningChart