klinecharts/KLineChart

📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)

TypeScript

4,233

1,781 commits

updated Oct 12, 2026

See the code

README

KLineChart

English | 简体中文

💹📈 Lightweight k-line chart built with html5 canvas.

GitHub Workflow Status (with branch) Version Size npms.io (maintenance) Typescript LICENSE Docs

Issues Discussions Telegram Wechat

✨ Features

  • 📦 Out of the box: Simple and fast integration, basically zero cost to get started.
  • 🚀 Lightweight and smooth: Zero dependencies, only 40k under gzip compression.
  • 💪 Powerful functions: Built-in multiple indicators and line drawing models.
  • 🎨 Highly scalable: With rich style configuration and API, the function can be extended as you like.
  • 📱 Mobile: Support mobile, one chart, handle multiple terminals.
  • 🛡 Typescript development: Provide complete type definition files.

📦 Install

Using npm

npm install klinecharts --save

Using yarn

yarn add klinecharts

CDNs

unpkg

<script type="text/javascript" src="https://unpkg.com/klinecharts/dist/klinecharts.min.js"></script>

jsDelivr

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/klinecharts/dist/klinecharts.min.js"></script>

📄 Docs

Online

https://www.klinecharts.com

Locale

Execute command in root directory. Node.js is required.

# Install the dependencies
pnpm install

# Start document service
pnpm run docs:dev

After successful startup, open in the browser http://localhost:8888 .

🛠️ Build

Execute command in root directory. Node.js is required.

# Install the dependencies
pnpm install

# Build files
pnpm run build

The generated files are in the dist folder.

©️ License

KLineChart is available under the Apache License V2.

candlestick
canvas
chart
exchange
finance
kline
klinechart
stock
stockchart
technical-indicators
time-line

klinecharts/KLineChart

📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)

TypeScript

4,233

1,781 commits

updated Oct 12, 2026

See the code

README

KLineChart

English | 简体中文

💹📈 Lightweight k-line chart built with html5 canvas.

GitHub Workflow Status (with branch) Version Size npms.io (maintenance) Typescript LICENSE Docs

Issues Discussions Telegram Wechat

✨ Features

  • 📦 Out of the box: Simple and fast integration, basically zero cost to get started.
  • 🚀 Lightweight and smooth: Zero dependencies, only 40k under gzip compression.
  • 💪 Powerful functions: Built-in multiple indicators and line drawing models.
  • 🎨 Highly scalable: With rich style configuration and API, the function can be extended as you like.
  • 📱 Mobile: Support mobile, one chart, handle multiple terminals.
  • 🛡 Typescript development: Provide complete type definition files.

📦 Install

Using npm

npm install klinecharts --save

Using yarn

yarn add klinecharts

CDNs

unpkg

<script type="text/javascript" src="https://unpkg.com/klinecharts/dist/klinecharts.min.js"></script>

jsDelivr

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/klinecharts/dist/klinecharts.min.js"></script>

📄 Docs

Online

https://www.klinecharts.com

Locale

Execute command in root directory. Node.js is required.

# Install the dependencies
pnpm install

# Start document service
pnpm run docs:dev

After successful startup, open in the browser http://localhost:8888 .

🛠️ Build

Execute command in root directory. Node.js is required.

# Install the dependencies
pnpm install

# Build files
pnpm run build

The generated files are in the dist folder.

©️ License

KLineChart is available under the Apache License V2.

candlestick
canvas
chart
exchange
finance
kline
klinechart
stock
stockchart
technical-indicators
time-line

Project health

Latest release

10.0.4 · Oct 12, 2026

Releases this year

5

Significant stargazers

WinWang

102 followers · starred Jan 2024

Xinyu Liu

59 followers · starred Apr 2023

Alberto Leal

270 followers · starred Jan 2026

Dmitry Vorotilin

170 followers · starred Jul 2026