项目
在 GitHub 查看
project-nv/night-vision
关于
Highly customizable charting library, created for professional traders
数据与分析实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Night Vision Charts™
NightVision is a highly customizable charting library, created for professional traders. It is a continuation of TradingVueJS project, borrowing its core ideas, but applying better design decisions and improving performance. Built with Svelte.
Start your charting journey with our interactive [DOCS].

Installation
npm i night-vision
Usage
import { NightVision } from 'night-vision'
let chart = new NightVision('<root-element-id>')
// Generate some random data
function data() {
return Array(30).fill(1).map((x, i) => [
new Date(`${i+1} Nov 2022 GMT+0000`).getTime(),
i * Math.random()
])
}
// Set the dataset
chart.data = {
panes: [{
overlays: [{
name: 'APE Stock',
type: 'Spline',
data: data(),
settings: {
precision: 2
}
}]
}]
}
Roadmap
- Add stocks support (Index-Based mode)
- Improve the layout: x/y axis calculation
- Expand the built-in overlay collection
- Add keyboard & mouse events
- Port the script system from TVJS
- Create a built-in indicator collection
- NavyJS tutorial
- Data API (the high-level API)
- Add tool overlays ???
- Toolbar ???
- Mobile support
Happy charting!

探索相关项目
加载中…