Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/recharts/recharts/llms.txt

Use this file to discover all available pages before exploring further.

For the latest release notes, see the GitHub Releases page.

Recent highlights

Recent major updates and improvements to Recharts:

Version 2.2.0 (Dec 8, 2022)

New features:
  • Keyboard navigation support in pie chart
  • Tooltip direction can now be reversed
Bug fixes:
  • Fixed rounding leading to hairline gaps
  • Fixed brush end index when zero
  • Improved brush dragging when mouse is outside
  • Added label type to line props

Version 2.1.0 (Aug 10, 2021)

New features:
  • ResponsiveContainer now wrapped with forwardRef
  • Chart type added to tooltip payload
Bug fixes:
  • Fixed issue #1787

Version 2.0.0 (Dec 29, 2020)

This is a major version release with breaking changes. See the migration guide for details.
New features:
  • TypeScript rewrite with full type definitions
  • React 16+ only support (removed React 15 support)
  • Added reversed prop to Funnel
  • Added breakAll prop to Text for Chinese text support
  • Support for range RadarChart with connectNulls prop
  • Custom legend icon support
Bug fixes:
  • Fixed minAngle for 0 in PieChart
  • Fixed type errors across multiple components
  • Fixed SVG path for pie charts with corner radius
  • Export props of components for better TypeScript support
Dependencies:
  • Upgraded react-resize-detector to 5.2.0
  • Updated react-smooth to 1.0.6
  • Upgraded d3 packages

Full changelog

For the complete changelog including all versions, see the CHANGELOG.md file in the repository.