react-c3-wrapper

1.0.0 • Public • Published

react-c3-wrapper

React C3 Wrapper

Installation

$ npm install react-c3-wrapper

Usage

import C3Wrapper from 'react-c3-wrapper';
 
class Application extends React.Component {
  render() {
    return (
      <div>
        <h1>React C3 Wrapper Example</h1>
        <C3Wrapper config={{
          data: {
            columns: [
              ['data1', 30, 200, 100, 400, 150, 250],
              ['data2', 50, 20, 10, 40, 15, 25]
            ]
          }
        }}/>
      </div>
    );
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-c3-wrapper

Weekly Downloads

952

Version

1.0.0

License

BSD-3-Clause

Last publish

Collaborators

  • wyuenho
  • marksteyn
  • triggity
  • terinjokes
  • jwineman
  • akenn
  • toekneestuck
  • thejameskyle