Key differences

  • Lightweight Charts has 5.2× as many GitHub stars as HQChart (17.9K vs 3.4K).
  • Lightweight Charts had more development activity over the last 12 months: 396 commits vs 97.
  • Lightweight Charts is downloaded 444× as often on npm (1.8M vs 4K per week).
  • Both are released under the Apache-2.0 license.
  • HQChart is written primarily in JavaScript, Lightweight Charts in TypeScript.
  • HQChart is the older project: its repository was created in 2018, Lightweight Charts's in 2019.

By the numbers

  • HQChart
  • Lightweight Charts
GitHub stars
3.4K 17.9K
npm downloads / week
4K 1.8M
Commits, last 12 months
97 396
Contributors
6 69
Forks
836 2.7K
Show data as a table
HQChart vs Lightweight Charts by the numbers
MetricHQChartLightweight Charts
GitHub stars3,43017,924
npm downloads / week4,0371,791,904
Commits, last 12 months97396
Contributors669
Forks8362,731

Development activity

Commits per month to each default branch, last 12 complete months.

  • HQChart
  • Lightweight Charts
0100200300 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctHQChartLightweight…
0100200300 Nov 2025 Feb 2026 May Aug HQChartLightweight…
Show data as a table
HQChart vs Lightweight Charts: commits per month
MonthHQChartLightweight Charts
Nov 202558
Dec 20251117
Jan 202688
Feb 2026317
Mar 2026122
Apr 20261021
May 20261515
Jun 2026713
Jul 2026166
Aug 2026811
Sep 20260204
Oct 2026274

Side by side

AttributeHQChartLightweight Charts
DescriptionK-line and stock charts with a technical indicator scripting engine, for web pages and WeChat mini programs.Performant HTML5 canvas financial charts, from TradingView.
CategoryJavaScript financial charting librariesJavaScript financial charting libraries
LicenseApache-2.0Apache-2.0
LanguageJavaScriptTypeScript
StatusActiveActive
Latest releasev1.11464 ()v5.3.0 ()
Last commit
Repository created
Open issues13100
Install
npm install hqchart
npm install lightweight-charts

Which should you choose?

Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.

  • HQChart

    K-line and stock charts with a technical indicator scripting engine, for web pages and WeChat mini programs.

    3.4K starsJavaScriptApache-2.0

  • Lightweight Charts

    Performant HTML5 canvas financial charts, from TradingView.

    17.9K starsTypeScriptApache-2.0

More comparisons