What's Changed
Feat
ResponsiveContainer
is now built-in to all charts by @PavelVanecek in #6388- add the
responsive
prop to any chart along with a height and width as if you were usingResponsiveContainer
. One less component to wrap things with.ResponsiveContainer
will 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 #6450ResponsiveContainer
: only shrinks in the dimensions where it needs to shrink by @PavelVanecek in #6367Treemap
: fix animation stutters in Treemap by @PavelVanecek in #6326Sankey
: fix unique key error by @daiboom in #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 #6344
- @daiboom made their first contribution in #6352
- @vmizg made their first contribution in #6387
Full Changelog: v3.2.1...v3.3.0