recharts
Version:
React charts
24 lines (20 loc) • 519 B
JavaScript
import React from 'react';
import {Surface, PolarGrid} from 'recharts';
export default React.createClass({
render () {
let polarAngles = [0, 30, 60, 90, 145, 180, 200, 270, 300],
polarRadius = [10, 20, 40, 80];
return (
<Surface width={500} height={500}>
<PolarGrid
cx={250}
cy={250}
outerRadius={200}
width={500}
height={500}
polarAngles={polarAngles}
polarRadius={polarRadius} />
</Surface>
);
}
});