First. Install from NPM and use a bundler
Install the library package from NPM.
npm install ––save @arction/lcjs
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.
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.