About this project
Lightweight Charts is a browser-based financial charting library built with HTML5 canvas. It is intended for displaying financial data as an interactive chart on a web page or replacing static chart images with interactive equivalents. The project emphasizes small bundle size and runtime performance, including pages that may contain many charts.
The library is distributed through npm and as a standalone browser build from a CDN. A basic chart can be created with createChart, followed by adding a series such as LineSeries and providing time/value data through setData. Production and development builds are available, with both ES module and IIFE variants; standalone bundles include their dependencies.
Beyond its built-in charting capabilities, functionality can be extended through custom plugins. The documentation links to a plugin catalog, interactive plugin examples, and guidance for authoring custom series or primitive plugins. The repository also includes Agent Skills for AI coding assistants, covering current v5 API usage and plugin authoring.
Build instructions are provided in BUILDING.md. The software is licensed under Apache License 2.0, with an attribution requirement to identify TradingView as the product creator; the chart configuration includes an attribution logo option for this purpose.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.