Skip to main content
Version: 4.2.1

Installation

LightningChart JS can be installed from NPM (Node Package Manager) with the following command, as long as you have Node.js installed.

npm i @arction/lcjs

Afterwards, you can use LightningChart like any external Node dependency.

import { lightningChart } from "@arction/lcjs";

const chart = lightningChart().ChartXY();

Alternatively, if your application can't directly consume Node packages, you can use the IIFE distribution to use LightningChart JS in virtually any web application.

<script src="https://cdn.jsdelivr.net/npm/@arction/[email protected]/dist/lcjs.iife.js"></script>
<script>
const { lightningChart } = lcjs;

const chart = lightningChart().ChartXY();
</script>

The IIFE build is publicly available via CDN services like jsdelivr, or it can be downloaded from NPM directly and saved as a local application asset.

When trialing LightningChart JS, please see Trials and Integration section to learn of your rights, terms of use, as well as special privileges during the trial period.