tradingview/lightweight-charts là dự án TypeScript với 17.0k sao trong nhóm Frontend. Performant financial charts built with HTML5 canvas
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
TradingView Lightweight Charts™ are one of the smallest and fastest financial HTML5 charts.
The Lightweight Charts™ library is the best choice for you if you want to display financial data as an interactive chart on your web page without affecting your web page loading speed and performance.
It is the best choice for you if you want to replace static image charts with interactive ones.
The size of the library is close to static images but if you have dozens of image charts on a web page then using this library can make the size of your web page smaller.
Take a look at awesome-tradingview for related projects created by our community members.
The library provides a rich set of charting capabilities out of the box, but developers can also extend its functionality by building custom plugins. See the interactive plugin examples here, or check out plugin-examples/README.md for more details.
Installing
es6 via npm
npm install lightweight-charts
Latest master build
To try the latest master build without waiting for a release (powered by pkg.pr.new):
This repository ships an Agent Skill that teaches AI coding assistants how to work with Lightweight Charts™ - the v5 API conventions, the mental model, and the common time, scale, marker, plugin, and wrapper foot-guns.
This makes the skill available to compatible assistants (such as Claude Code, Codex, etc.), streamlining your workflow: they scaffold charts, wire up series and data, and answer API questions against the current v5 conventions out of the box - instead of relying on outdated snippets and stumbling into common foot-guns.
Development
See BUILDING.md for instructions on how to build lightweight-charts from source.
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.
You may obtain a copy of the License at LICENSE file.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This software incorporates several parts of tslib (https://github.com/Microsoft/tslib, (c) Microsoft Corporation) that are covered by BSD Zero Clause License.
This license requires specifying TradingView as the product creator.
You shall add the "attribution notice" from the NOTICE file and a link to https://www.tradingview.com/ to the page of your website or mobile application that is available to your users.
As thanks for creating this product, we'd be grateful if you add it in a prominent place.
You can use the attributionLogo chart option for displaying an appropriate link to https://www.tradingview.com/ on the chart itself, which will satisfy the link requirement.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/tradingview/lightweight-charts là nguồn chính thức.
tradingview/lightweight-charts có bao nhiêu sao?
tradingview/lightweight-charts có 17.0k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/tradingview/lightweight-charts. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
tradingview/lightweight-charts có những chủ đề gì?
GitHub topics của tradingview/lightweight-charts: "canvas", "charting", "charting-library", "charts", "finance", "financial-charting-library", "html5-charts", "javascript", "typescript". TopGit xếp repo vào nhóm Frontend.
tradingview/lightweight-charts có trang demo không?
Dự án có trang chủ ở https://www.tradingview.com/lightweight-charts/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
tradingview/lightweight-charts còn đang phát triển không?
Commit gần nhất trên tradingview/lightweight-charts là 1 tháng trước (theo timestamp GitHub). Repo có 2.6k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
tradingview/lightweight-charts dùng license gì?
tradingview/lightweight-charts phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
tradingview/lightweight-charts viết bằng ngôn ngữ gì?
tradingview/lightweight-charts chủ yếu viết bằng TypeScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc lightweight-charts có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về lightweight-charts.