react-webchart

0.1.0 • Public • Published

react-webchart

A simple wrapper for using a Webcharts chart as a React component

Use it like this:

<ReactWebchart
  //some array of objects representing your dataset
  data={ [ {x: 1, y: 1}, {x: 2, y: 2} ] }
  //standard webcharts chart configuration object - see webcharts docs
  settings={
    { 
      x: {},
      y: {},
      marks: []
    }
  }
  //inputs arry from a statndard webcharts controls configuration object - see webcharts docs
  controlInputs={ [] }
  //chart id (optional)
  id={ 'myNewChart' } 
/>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i react-webchart

Weekly Downloads

2

Version

0.1.0

License

ISC

Last publish

Collaborators

  • rhographics
  • samussiah
  • pburnsdata