Diffract Versions Save

A set of d3 based visualization components built for React

v0.3.2

8 years ago

Update dependency on React. Now allows React 15+

v0.3.1

8 years ago

Changelog

New Features

  • BREAKING Now exposes separate XAxis and YAxis components instead of Axis component
  • BarChart and Pie expose onClick as a prop

Fixes

  • Axis components now use idiomatic React constructs (see 0d123cc)

New APIs

New props 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

v0.3.0

8 years ago

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):

  • Chart
  • DataSeries
  • BarChart
  • Stack
  • Group
  • Pie

v0.2.1

8 years ago

v0.2.0

8 years ago

Diffract now plays well with latest react/ react-dom/ react-addons

v0.1.1

8 years ago

Release Notes

Bug Fixes

  • Fixes #8. Correctly naming files so that imports/requires work correctly on case sensitive OSes
  • Fixed animation issue in bar chart

Miscellaneous

  • Code base now uses ESNext with Babel

v0.1.0

9 years ago

This is an initial release with basic functionality. This includes two visualization widgets, viz., Donut and BarGraph.

Demos

Donut

Bar Graph