React wrapper for tauCharts
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).
className
for wrapperheight
and width
for decreasing repainting (works well if your data changes frequently).this.refs.tau.chart
MIT