v3.2.0
What's Changed
Quite a bit of 3.0 bug fixes in this release along with two new hooks. Thanks to all who've been reporting issues!
Feat
Pie: support string values in PieouterRadiuscallbacks by @rephaelberkooz in https://github.com/recharts/recharts/pull/6191PolarGrid: addfillcolor support to by @mindtraveller in https://github.com/recharts/recharts/pull/6287
Hooks
- New :
useXAxisDomainanduseYAxisDomainhooks by @PavelVanecek in https://github.com/recharts/recharts/pull/6201 - New:
useMarginhook by @PavelVanecek in https://github.com/recharts/recharts/pull/6224
Fix
Bar: fix unnecessary line breaks in Bar labels by @eino in https://github.com/recharts/recharts/pull/6214Bar: improveBarperformance whenactiveBaris turned off by @PavelVanecek in https://github.com/recharts/recharts/pull/6290Stacked Bar/Area: fix stacked charts with duplicate categorical data by @PavelVanecek in https://github.com/recharts/recharts/pull/6194Scatter: fix exception when Scatter data has non-stringtypeproperty by @PavelVanecek in https://github.com/recharts/recharts/pull/6248X/YAxis: fix blinking when changing props by @PavelVanecek in https://github.com/recharts/recharts/pull/6262PolarAngleAxis/Radar: fix polar angle axis ticks text positions by @mindtraveller in https://github.com/recharts/recharts/pull/6276Label: allow rendering Labels as nested children inXAxis,YAxisand Reference elements by @PavelVanecek in https://github.com/recharts/recharts/pull/6219LabelList: fix issue with LabelList not rendering inPiecharts by @PavelVanecek in https://github.com/recharts/recharts/pull/6246Text: fix exception whenText's children is empty and scaleToFit=true by @PavelVanecek in https://github.com/recharts/recharts/pull/6282Tooltip: bound Tooltip coordinates to the chart container in synchronized charts by @shreedharbhat98 in https://github.com/recharts/recharts/pull/6263Brush:allow brush travelers to be controlled by keys after mouse interaction by @ckifer in https://github.com/recharts/recharts/pull/6285useActiveTooltipDataPoints: fix infinite rendering loop by @PavelVanecek in https://github.com/recharts/recharts/pull/6247
Chore
- Upgrade to ESLint 9 by @NishargShah in https://github.com/recharts/recharts/pull/6284
- Add better storybook docs for Text component by @PavelVanecek in https://github.com/recharts/recharts/pull/6278
- Make Recharts Redux devTools registration opt-in (fixes #6250) by @uncaught in https://github.com/recharts/recharts/pull/6264
- Continued refactoring/improvements by @PavelVanecek ๐
New Contributors (thanks everyone!)
- @rephaelberkooz made their first contribution in https://github.com/recharts/recharts/pull/6189
- @uncaught made their first contribution in https://github.com/recharts/recharts/pull/6264
- @mindtraveller made their first contribution in https://github.com/recharts/recharts/pull/6276
- @NishargShah made their first contribution in https://github.com/recharts/recharts/pull/6284
Full Changelog: https://github.com/recharts/recharts/compare/v3.1.2...v3.1.3