TradingView Lightweight Charts renders interactive market charts in the browser with a small bundle. It targets candlesticks, lines, and related series with real-time updates.
Overview
Lightweight Charts is a browser charting library aimed at financial and trading interfaces. It draws with HTML5 canvas and is sized to stay smaller than many static chart images while remaining interactive.
Out of the box it supports common price series types such as candles, lines, bars, area, baseline, and histogram views. Charts can receive streaming updates, handle large bar counts, and offer theming, legends, range switchers, tooltips, and scale formatting options.
Developers install it via npm or CDN, including standalone builds that expose a global object. Custom plugins and indicator extensions can add volume, markers, moving averages, and other overlays described in the plugin catalog.
The project is maintained by TradingView under an Apache license and requires attribution to TradingView on pages or via a built-in attribution logo option when used in production.
Key features
- HTML5 canvas financial chart types
- Streaming real-time data updates
- Npm and CDN distribution
- Custom plugins and indicators
- Theming and scale formatting
- Mobile-responsive interaction
- High bar-count performance
- TypeScript-friendly API
Use cases
- Exchange or brokerage price widgets
- Portfolio dashboards in web apps
- Replacing static finance chart images
- Fintech sites needing compact charts