Key differences

  • KLineChart has 1.2× as many GitHub stars as HQChart (4.2K vs 3.4K).
  • KLineChart had more development activity over the last 12 months: 267 commits vs 106.
  • KLineChart is downloaded 9.6× as often on npm (51.9K vs 5.4K per week).
  • Both are released under the Apache-2.0 license.
  • HQChart is written primarily in JavaScript, KLineChart in TypeScript.
  • HQChart is the older project: its repository was created in 2018, KLineChart's in 2019.

By the numbers

  • HQChart
  • KLineChart
GitHub stars
3.4K 4.2K
npm downloads / week
5.4K 51.9K
Commits, last 12 months
106 267
Contributors
6 39
Forks
837 1K
Show data as a table
HQChart vs KLineChart by the numbers
MetricHQChartKLineChart
GitHub stars3,4104,211
npm downloads / week5,37651,877
Commits, last 12 months106267
Contributors639
Forks8371,006

Development activity

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

  • HQChart
  • KLineChart
0255075 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug SepHQChartKLineChart
0255075 Oct 2025 Jan 2026 Apr Jul HQChartKLineChart
Show data as a table
HQChart vs KLineChart: commits per month
MonthHQChartKLineChart
Oct 2025112
Nov 2025529
Dec 2025110
Jan 202681
Feb 202630
Mar 20261223
Apr 2026103
May 20261539
Jun 2026720
Jul 20261665
Aug 2026842
Sep 2026043

Side by side

AttributeHQChartKLineChart
DescriptionK-line and stock charts with a technical indicator scripting engine, for web pages and WeChat mini programs.Lightweight, highly customizable candlestick (k-line) chart with zero dependencies and mobile support.
CategoryJavaScript financial charting librariesJavaScript financial charting libraries
LicenseApache-2.0Apache-2.0
LanguageJavaScriptTypeScript
StatusActiveActive
Latest releasev1.11464 ()v10.0.3 ()
Last commit
Repository created
Open issues1330
Install
npm install hqchart
npm install klinecharts

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

  • KLineChart

    Lightweight, highly customizable candlestick (k-line) chart with zero dependencies and mobile support.

    4.2K starsTypeScriptApache-2.0

More comparisons