Skip to content

recharts 3.5.1

What's Changed

Fix

  • Pie: add missing Sector index to Pie shape prop by @ckifer in https://github.com/recharts/recharts/pull/6683
    • This enables customization of specific slices of the Pie similar to activeIndex in 2.x
  • Pie: prevent cross-Pie highlighting in multi-Pie PieCharts with shared dataKeys by @shreedharbhat98 in https://github.com/recharts/recharts/pull/6678
    • Only marks a specific Sector as active when that sector is hovered
  • TypeScript/Tooltip: update activeLabel type to be a string | number by @ckifer in https://github.com/recharts/recharts/pull/6691
    • !! NOTE !!: This change may break your types if you relied on it as a string, but this is a bug fix
  • Accessibility/General: add tabIndex -1 on Recharts ZIndex svg portal g tags to prevent extraneous focusable surfaces by @ckifer in https://github.com/recharts/recharts/pull/6687
  • General: Removed accidental eslint dependency from main dependencies which should remove it from installation with recharts

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v3.5.0...v3.5.1