Skip to content

Lightning-Chart/lcjs-react-template

Repository files navigation

LightningChart JS × React Template

Minimal template for using LightningChart JS in React + TypeScript, built with Vite.

Getting started

npm install
npm run dev

License key

Supply your LightningChart JS license key in .env:

VITE_LCJS_LICENSE="your-license-key-here"

Files of interest

File Description
src/LC.tsx LCHost component and LCContext — manages a shared LC instance for all charts on the page
src/Components/MyChartComponent.tsx Example chart component using LCContext
src/App.tsx Usage example with two charts

Learn more

react-time-series-chart

For a plug-and-play React time series chart component, see react-time-series-chart.

About

React project template with LightningChart JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors