lightklinecharts

Lightweight k-line chart built with html5 canvas

Usage no npm install needed!

<script type="module">
  import lightklinecharts from 'https://cdn.skypack.dev/lightklinecharts';
</script>

README

LightKLineChart

forked KLineChart npm version Build Status Codacy Badge size types NPM

📈Lightweight k-line chart built with html5 canvas. Support parameter setting of technical indicators, support custom indicators, draw marker lines, and support custom styles.

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

Fork Update

License

KLineChart is available under the Apache License V2.

Sponsor