Skip to content

v0.3.1

Compare
Choose a tag to compare
@ameyms ameyms released this 07 Apr 20:00
· 3 commits to master since this release

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