Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LightningChartOptions

Interface for configuring LightningChart JS initialization, before any charts or series are created.

Supplied when lightningChart function is called:

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

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

Index

Properties

Optional license

license : undefined | string

Optional development or deployment license. If omitted, a community license will be used.

Optional licenseInformation

licenseInformation : AppDeploymentLicenseInformation

Additional information for license verification. Only required by Application Deployment license.

Optional overrideInteractionMouseButtons

overrideInteractionMouseButtons : OverrideInteractionMouseButtons

Optionally supplieable data structure for overriding mouse buttons that trigger user interactions.

See OverrideInteractionMouseButtons for full list of supported overrides.

Example usage:

  • Swap ChartXY panning and zoom/fit mouse buttons.
 const lcjs = lightningChart({
     // LightningChartOptions
     overrideInteractionMouseButtons: {
         chartXYPanMouseButton: 0, // LMB
         chartXYRectangleZoomFitMouseButton: 2, // RMB
     }
 })

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