GithubHelp home page GithubHelp logo

lacgit / night-vision Goto Github PK

View Code? Open in Web Editor NEW

This project forked from project-nv/night-vision

0.0 0.0 0.0 14.46 MB

Highly customizable charting library, created for professional traders [Community Edition]

Home Page: https://nightvision.dev

License: MIT License

JavaScript 99.91% TypeScript 0.01% CSS 0.01% HTML 0.01% Svelte 0.08%

night-vision's Introduction

PepeNV

npm license build

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].

Screen

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!

wink

night-vision's People

Contributors

c451 avatar boilingsoup avatar syth-trader avatar jonarod avatar swoorup avatar aokcoder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.