1.1.0 • Published 8 years ago

taucharts-react v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

taucharts-react

React wrapper for tauCharts

Usage

import React from 'react';
import TauChart from 'taucharts-react';

const chartData = [...];
const chartOptions = {...};

...
  render() {
  	return <TauChart ref="tau" data={chartData} options={chartOptions} />
  }
...

See a full example here (npm run example for run it).

Available props

  • data - Array (required) - chart data
  • options - Object (required) - chart options
  • className - String - className for wrapper
  • height - Number - chart height.
  • width - Number - chart width.

Tips

  • Specify height and width for decreasing repainting (works well if your data changes frequently).
  • You can gain access to tauchart via this.refs.tau.chart

License

MIT

1.1.0

8 years ago

1.0.1

8 years ago

0.0.0-2

8 years ago

1.0.0

8 years ago

0.0.0-0

8 years ago

0.0.0

8 years ago