Skip to content

aicioara/plottable-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command line charts with PlottableJS

Overview

Tool to be used for generating SVG and PNG plots using PlottableJS.

Installation

  • Install NodeJS
  • Install global dependencies npm install bower phantomjs -g
  • Install node modules npm install
  • Install library dependencies bower install

Usage

Simple

node plottable-node.js example.js

Configured

node plottable-node.js -h 500 -w 500 -o plot.svg example.js

Data split

node plottable-node.js -h 500 -w 500 -o plot.svg -d data.js config.js

PNG conversion

We do not officially support PNG conversion, but we provide a neat tool for executing the conversion (MAC only)

  • One file conversion bash svgToPng.sh file.svg -> file.svg.png

Help

Usage:
    $0 [options] configFile

Options:
    -d, --data         JavaScript data file
    -o, --output       name of the output SVG file (defaults to output.svg)
    -h, --height       width of the SVG in pixels
    -w, --width        height of the SVG in pixels
    --version          show version info and exit
    --help             print usage information

Develop

For feature requests please open an issue. Pull requests welcome.

License

MIT

About

📈 Command line utility for creating SVG plots using Palantir's Plottable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published