2.1.1 • Published 5 years ago

flot-d3-stack v2.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

d3 Stacking Plugin for Flot

A plugin for Flot which utilizes d3's stack layout to provide stream graphs.

Usage

There's a option to enable d3 stacking, and an offset parameter to control the stacking layout algorithm. Valid values are wiggle, silhouette, expand, and diverging. Any other value (e.g. none or an empty value) will result in a regular stack:

series: {
    stackD3: {
        show: true,
        offset: 'wiggle'
    }
}

Installation via npm

This package is available on npm as flot-d3-stack. To install from npm:

npm install flot-d3-stack

Example

npm.io

  • flot-d3-stack is also in use in Tessera.

Release Notes

2.0

  • Release 2.0 has been re-written to work with the new d3-stack module from D3 4.0, and is incompatible with D3 3.0.
  • This version has been tested with Flot 0.8.3. Any changes necessary for newer versions of Flot will be made in an upcoming release.
2.1.1

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.2

5 years ago

1.0.1

7 years ago

1.0.0

9 years ago