Giter VIP home page Giter VIP logo

qchart's Introduction

#qchart plot data directly from kdb (using javascript). Works well with sublime-q. It transform your data into json and render it into html/javascript template. alt text alt text

#Install

By qpm!

qpm.q install https://github.com/komsit37/qchart.git

###Or Manually I recommend install it to your QHOME/lib. You can install it anywhere but I use ~/q/lib as example (change it to c:/q/lib for windows)

cd ~/q/lib
git clone https://github.com/komsit37/qchart.git

#Usage All plot functions are available under qchart dict (note there is no namespace ., .qchart is used for internal while qchart is public) check example.q

\l lib/qchart/qchart.q
/ or if you use .qp (q package manager)
/.qp.require "qchart"

/time series
qchart.line ([]time: 2015.04.01 + til 10; price: 10?100)
qchart.points ([]time: 2015.04.01 + til 10; price: 10?100)

/with sym
qchart.stackedbar `time xasc ([]time: 10#2015.01.01 + til 5; sym: 10#`a`b; price: 10?100)

/category
qchart.bar ([]sym:`a`b`c`d; val:4?10)
qchart.parallel ([]a:10?100; b:10?1.0; c:10?1000; d:10?0.1; e:10?`a`b; f:10?100)

#Todo more charts
better API

qchart's People

Contributors

komsit37 avatar

Watchers

James Cloos 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.