📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)
APACHE-2.0 License
Similar to chart libraries for performance comparison.
Comparison of time consumption from initialization to full rendering:
[email protected] | [email protected] | [email protected] |
---|---|---|
37ms | 36ms | 241ms |
npm install klinecharts --save
yarn add klinecharts
<script type="text/javascript" src="https://unpkg.com/klinecharts/dist/klinecharts.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/klinecharts/dist/klinecharts.min.js"></script>
Execute command in root directory. Node.js is required.
# Install the dependencies
npm install
# Start document service
npm run docs:dev
After successful startup, open in the browser http://localhost:8888 .
Execute command in root directory. Node.js is required.
# Install the dependencies
npm install
# Build files
npm run build
The generated files are in the dist folder.
KLineChart is available under the Apache License V2.