react-jsgraph

2.0.1 • Public • Published

react-jsgraph

NPM version

Installation

npm install --save react-jsgraph

Usage

import { Chart } from 'react-jsgraph';
 
const json = {
  title: 'My chart',
  data: [
    {
      x: [1, 2, 3, 4, 5],
      y: [1, 2, 3, 2, 1]
    }
  ]
};
 
function App() {
  return <Chart chart={json} style={{ height: 500 }} />;
}

Documentation

See https://zakodium.github.io/react-jsgraph/ for detailed usage examples.

Package Sidebar

Install

npm i react-jsgraph

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

13.6 kB

Total Files

15

Last publish

Collaborators

  • zakodium-bot
  • lpatiny
  • targos
  • stropitek