Key differences

  • Lightweight Charts has 5.2× as many GitHub stars as HQChart (17.8K vs 3.4K).
  • Lightweight Charts had more development activity over the last 12 months: 376 commits vs 97.
  • Lightweight Charts is downloaded 441× as often on npm (1.9M vs 4.2K 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.8K
npm downloads / week
4.2K 1.9M
Commits, last 12 months
97 376
Contributors
6 60
Forks
835 2.7K
Show data as a table
HQChart vs Lightweight Charts by the numbers
MetricHQChartLightweight Charts
GitHub stars3,42717,780
npm downloads / week4,2331,868,446
Commits, last 12 months97376
Contributors660
Forks8352,689

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 2026316
Mar 2026122
Apr 20261021
May 20261512
Jun 2026713
Jul 2026166
Aug 2026811
Sep 20260204
Oct 2026258

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.2.1 ()
Last commit
Repository created
Open issues13106
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.8K starsTypeScriptApache-2.0

More comparisons