npm recharts 3.4.0
v3.4.0

latest release: 3.4.1
8 hours ago

What's Changed

Added z-index support across most recharts surfaces + a few other features, lots of fixes, and some doc updates 🚀

Feat

  • Z Index! - You can now add a z index to many chart components to order the position of recharts elements as you wish, mimicking CSS z-index. Big shout out to @PavelVanecek in #6479
    • See the guide page - (coming soon)
  • Line: add shape property to allow for custom shape implementations by @tarik02 in #6512
  • Sankey: support for left-aligned Sankey nodes via the align prop by @dbnl-renaud in #6568
  • Sankey: support for top-aligned Sankey nodes via the verticalAlign prop by @dbnl-kat #6576
  • Label: allow overwriting the textAnchor prop by @PavelVanecek in #6547

Fix

  • Stacked Bar / Brush: fix bug in stacked bar charts with a brush where the brush would remove elements from the wrong side of the chart by @37108 in #6481
  • Area: fix regression in Area event handlers where the events were not firing correctly by @PavelVanecek in #6507
  • Funnel: fix Funnel margin calculations by @PavelVanecek in #6453
  • Funnel: fix label position issues from previous release by @PavelVanecek in #6473
  • Label/Text: correct Label and Text types to only what they can actually render by @PavelVanecek in #6467
  • Misc: inline a few es-toolkit functions that were causing build errors by @daiboom in #6543
  • Misc: remove circular dependency import that had potential to cause runtime errors by @ckifer in #6581

Chore

  • Finished adding strict null checks and enabled strictNulls in TSConfig for good 🚀

Docs

Lots of changes in recharts.github.io

  • Switch code editor to codemirror by @PavelVanecek in #6531
  • Added/removed missing/stale properties where applicable from storybook and website
  • Few layout/visual changes and fixes on the website
  • Much more

New Contributors

Full Changelog: v3.3.0...v3.4.0

Don't miss a new recharts release

NewReleases is sending notifications on new releases.