npm recharts 3.1.0
v3.1.0

latest releases: 3.1.2, 3.1.1
one month ago

What's Changed

Bug fixes (old and new) and a few new hooks post 3.0 launch!

Feat

More hooks!

Fix

  • Legend: After hiding and showing legend elements, keep them in the same order as before by @PavelVanecek in #6026
  • Bar: add payload as a valid property on BarRectangleItem by @ckifer in #6029
  • Accessibility: Remove role=application from recharts wrapper (this was removed in 2.x for accessibility reasons) by @PavelVanecek in #6060
  • ResponsiveContainer: Add overflow: visible zero-size wrapper so that ResponsiveContainer can shrink by @PavelVanecek in #6068
  • X/YAxis: Fix tickCount and allowDecimals if axis domain does not include the keyword 'auto' by @PavelVanecek in #6070
  • Tooltip: Fix active tooltip and dots when there are multiple graphical items each with their own data by @PavelVanecek in #6074

Docs

Chore

  • Remove duplicate 'square' from Pie component’s legendType summary by @davinahi in #6054

New Contributors

Full Changelog: v3.0.2...v3.1.0

Don't miss a new recharts release

NewReleases is sending notifications on new releases.