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 PieouterRadius
callbacks by @rephaelberkooz in #6191PolarGrid
: addfill
color support to by @mindtraveller in #6287
Hooks
- New :
useXAxisDomain
anduseYAxisDomain
hooks by @PavelVanecek in #6201 - New:
useMargin
hook by @PavelVanecek in #6224
Fix
Bar
: fix unnecessary line breaks in Bar labels by @eino in #6214Bar
: improveBar
performance whenactiveBar
is turned off by @PavelVanecek in #6290Stacked Bar/Area
: fix stacked charts with duplicate categorical data by @PavelVanecek in #6194Scatter
: fix exception when Scatter data has non-stringtype
property by @PavelVanecek in #6248X/YAxis
: fix blinking when changing props by @PavelVanecek in #6262PolarAngleAxis/Radar
: fix polar angle axis ticks text positions by @mindtraveller in #6276Label
: allow rendering Labels as nested children inXAxis
,YAxis
and Reference elements by @PavelVanecek in #6219
LabelList
: fix issue with LabelList not rendering inPie
charts by @PavelVanecek in #6246Text
: fix exception whenText
's children is empty and scaleToFit=true by @PavelVanecek in #6282Tooltip
: bound Tooltip coordinates to the chart container in synchronized charts by @shreedharbhat98 in #6263Brush:
allow brush travelers to be controlled by keys after mouse interaction by @ckifer in #6285useActiveTooltipDataPoints
: fix infinite rendering loop by @PavelVanecek in #6247
Chore
- Upgrade to ESLint 9 by @NishargShah in #6284
- Add better storybook docs for Text component by @PavelVanecek in #6278
- Make Recharts Redux devTools registration opt-in (fixes #6250) by @uncaught in #6264
- Continued refactoring/improvements by @PavelVanecek 🚀
New Contributors (thanks everyone!)
- @rephaelberkooz made their first contribution in #6189
- @uncaught made their first contribution in #6264
- @mindtraveller made their first contribution in #6276
- @NishargShah made their first contribution in #6284
Full Changelog: v3.1.2...v3.1.3