ag-cumulative-flow
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published

AG - Cumulative Flow

The AG Cumulative Flow is a simple library written in React + Typescript and its objective is doing the cumulative flow diagram renderization as easy as possible.

The objective is being a component to compose UI peaces of any interface that uses React, in this case, to render Cumulative flow diagrams.

NPM JavaScript Style Guide

Install

npm i ag-cumulative-flow

ou

yarn add ag-cumulative-flow

Usage

import * as React from 'react'

import CFD from 'ag-cumulative-flow'

class Example extends React.Component {
  render () {

    const cumulativeFlowData = {
      Backlog: [{
        x: 1570503600, y: 2
      }],
      Done: [{
        x: 1570417200, y: 1
      }]
    };

    return (
      <CFD data={cumulativeFlowData}/>
    )
  }
}

The cumulativeFlowData constant must have an object as the value, where the attributes is going to be the KanBan lanes and the 'x' must be the date in timestamp format and the 'y' the quantity

License

GNU © AG Cumulative Flow

Dependents (0)

Package Sidebar

Install

npm i ag-cumulative-flow

Weekly Downloads

2

Version

0.1.9

License

AGPL-3.0-or-later

Unpacked Size

102 kB

Total Files

23

Last publish

Collaborators

  • valentim