/KLineChart

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

Primary LanguageJavaScriptApache License 2.0Apache-2.0

KLineChart

Version Build Status Codacy Badge Download Size Typescript LICENSE

📈Lightweight k-line chart that can be highly customized, built with html5 canvas. Support custom technical indicators. Support graphic mark.

Installing

Using npm

npm install klinecharts --save

Using yarn

yarn add klinecharts

CDNs

https://unpkg.com/klinecharts/dist/klinecharts.min.js

https://cdn.jsdelivr.net/npm/klinecharts

Docs

Build

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

# Install the dependencies from NPM:
npm install

# Build files:
npm run build

The generated files are in the dist folder.

Resources

Sample code

https://github.com/liihuu/KLineChartSample

Sample page

https://liihuu.github.io/KLineChart

Screenshot

License

KLineChart is available under the Apache License V2.

Reward Author