1.1.1 • Published 5 years ago

test2d3 v1.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

bar v.1.0.1

The ### test2d3 bar builder

Installation

Using npm:

$ npm i test2d3

Support

Tested in Node.js v9.8.0

API

...in progress

render(graphData, svgElement)

process graphData (see Data Structure) and renders graph

Data structure

required properties for input:

Usage example

mocked data example:

steps: 1. create instance

var graphInstance = new LinearGraphData();
  1. optional define graph settings

    LinearGraphData.updateGraphConfig({ width: 1200, height: 600 });

  2. render

    LinearGraphData.render(mockedData);