There are 2 ways to get LightningChart JS in your JavaScript or TypeScript project:

1.

First

2.

Second

1

First. Install from NPM and use a bundler

Install the library package from NPM.

npm install ––save @arction/lcjs

This package can be used with any bundler that supports CommonJS. Some examples of bundlers that work are WebPack, Parcel and Rollup.

Check out the getting started video down below to see how it works in action.

Any of our Examples can be used as a seed project. All examples on that page have been made to standalone repositories which can be found on our GitHub.

2

Second. Use IIFE bundle directly on webpage

The library is distributed with a browser ready IIFE bundle. This bundle can be used directly in browsers with script tag. You can see an example implementation of this method on our GitHub.

All of our examples can be used in the html page. To use them first find an example you want to use from interactive examples.
Click Edit this example. On the bottom of the page click on the button that reads CJS. That will switch our code to be IIFE compatible. After that the code can be copied to the html page.

See our script tag LightningChart JS html usage example for more detailed information.