v3.3.0
What's Changed
Feat
ResponsiveContaineris now built-in to all charts by @PavelVanecek in https://github.com/recharts/recharts/pull/6388- add the
responsiveprop to any chart along with a height and width as if you were usingResponsiveContainer. One less component to wrap things with.ResponsiveContainerwill continue to work for the life of 3.x
- add the
<BarChart data={data} responsive height={300} width="100%">
....
</BarChart>
Fix
YAxis: Only use the YAxiswidth="auto"oscillation detection if the difference is > 1 pixel by @PavelVanecek in https://github.com/recharts/recharts/pull/6450ResponsiveContainer: only shrinks in the dimensions where it needs to shrink by @PavelVanecek in https://github.com/recharts/recharts/pull/6367Treemap: fix animation stutters in Treemap by @PavelVanecek in https://github.com/recharts/recharts/pull/6326Sankey: fix unique key error by @daiboom in https://github.com/recharts/recharts/pull/6352
Website changes - https://recharts.github.io/
- Recharts website is now inlined in recharts/www as opposed to https://github.com/recharts/recharts.org
- NEW recharts website URL at https://recharts.github.io/
Unfortunately the current contributors and admins do not own recharts.org and the renewal of the domain remains up in the air. To remove that uncertainty we have deployed the website at our github pages URL instead.
New Contributors
- @kristiandueholm made their first contribution in https://github.com/recharts/recharts/pull/6344
- @daiboom made their first contribution in https://github.com/recharts/recharts/pull/6352
- @vmizg made their first contribution in https://github.com/recharts/recharts/pull/6387
Full Changelog: https://github.com/recharts/recharts/compare/v3.2.1...v3.3.0