A set of d3 based visualization components built for React
Update dependency on React. Now allows React 15+
XAxis
and YAxis
components instead of Axis
componentBarChart
and Pie
expose onClick
as a propprops
for XAxis
and YAxis
:labels: PropTypes.func,
orientation: PropTypes.oneOf(['top', 'bottom']),
tickFormat: PropTypes.func,
outerTickSize: PropTypes.number,
innerTickSize: PropTypes.number,
tickPadding: PropTypes.number,
tickValues: PropTypes.arrayOf(PropTypes.any),
ticks: PropTypes.arrayOf(PropTypes.any),
tickTextStyle: PropTypes.object,
tickLineStyle: PropTypes.object,
textRotation: PropTypes.number
This release is a full rewrite and uses idiomatic React constructs for animation. Now exposes much lower level primitives for finer grained control (see #10):
Diffract now plays well with latest react/ react-dom/ react-addons