0.1.2 • Published 7 years ago

react-plotter v0.1.2

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

Installation

npm install react-plotter --save

API

Live Demo and API

Usage

import line from 'react-plotter/plot-styles/line'
import circleMarker from 'react-plotter/markers/circle'
setInterval(() => {
  this.setState({
    data: sinewave(100)
  })
}, 50)

<Plotter
  style={line({marker: circleMarker()})}
  width={600}
  height={400}
  dataSize={5000}
  initialData={sinewave(1000)}
  appendData={this.state.data}
  trigger={0} />

TODO

  • Tests
0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago