What's Changed
Mostly fixes and performance improvements this release but check out the deprecation of Pie active/inactiveShape in favor of aligning with the shape prop of other chart elements.
Feat
Pie: addshapeto align custom Pie sector shapes to other Recharts components by @ckifer in #6482- This change deprecates
activeShapeandinactiveShape. Please use theisActiveprop passed from the callback toshapeto create active Pie sectors.
- This change deprecates
Stacked Charts: implementreverseStackOrderprop in v3 - fixes a regression between recharts 2 and 3 by @j-shimizu111 in #6644Typescript/Dot: exportActiveDotPropsandDotItemDotPropstypes by @simaks in #6657
Fix
- Performance Improvements! https://recharts.github.io/en-US/guide/performance/
-
- Optimize
SetTooltipEntrySettingsto break infinite rendering loop by @PavelVanecek in #6616
- Optimize
- Various performance improvements by @PavelVanecek in #6634
- Some more performance improvements by @PavelVanecek in #6654
-
Line: fix animation when interrupted with non-data related changes by @PavelVanecek in #6641Line/Area: fix active dot appearing outside graph by @cameronm-orion in #6612Legend: aLegendwith aportalno longer adjusts the margin of the chart (which left an empty space) by @ckifer in #6609ErrorBar: remove duplicate key warning when error range has same values by @bas0N in #6660PolarAngleAxis: prevent overlapping "0" and "360" ticks by @PavelVanecek in #6611Typescript/Area: add specific type toArea.labelinstead ofanyby @PavelVanecek in #6621General: disable immutable check in production, removes console warnings by @tngwoerleij in #6619
Docs
- Add guide for performant charts by @PavelVanecek in #6659
- https://recharts.github.io/en-US/guide/performance/ please follow the guide for best results
- @PavelVanecek fixed and updated a lot of our documentation on both the storybook and website 📖 🚀
New Contributors (thanks everyone!)
- @Parth10P made their first contribution in #6623
- @j-shimizu111 made their first contribution in #6644
- @tngwoerleij made their first contribution in #6619
- @bas0N made their first contribution in #6660
- @cameronm-orion made their first contribution in #6612
- @simaks made their first contribution in #6657
Full Changelog: v3.4.1...v3.4.2