/KLineChart

📈Lightweight k-line chart built with html5 canvas . Zero dependencies. Support mobile(基于html5 canvas的轻量级k线图,无第三方依赖,支持移动端).

Primary LanguageJavaScriptApache License 2.0Apache-2.0

KLineChart

npm version Build Status Codacy Badge size types NPM

📈Lightweight k-line chart that can be highly customized, built with html5 canvas. Support custom technical indicators and parameter settings. Support line drawing.

Installing

Using npm

npm install klinecharts --save

CDN

You can use unpkg:
https://unpkg.com/klinecharts/dist/klinecharts.production.min.js

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

Technical Indicators

https://github.com/liihuu/TechnicalIndicator

Sample Code

https://github.com/liihuu/KLineChartSample

Screenshot

License

KLineChart is available under the Apache License V2.

Reward Author