npm recharts 3.6.0
v3.6.0

one day ago

What's Changed

3.6 🚀 - check out BarStack and ranged stacked bars 📊

Feat

  • BarStack: new component BarStack by @PavelVanecek in #6746
    • allows configuring settings for the whole stack of bars such as radius
  • Bar: enable ranged stacked bars by @PavelVanecek in #6722
  • Pie/Typescript: Export PieSectorShapeProps type for shape function by @ramanverse in #6706
    XAxis/YAxis: Implement 'equidistantPreserveEnd' interval option for XAxis and YAxis (#6642) by @Om-Mishra09 in #6661
  • Tooltip: Add graphicalItemId to tooltip payload object by @PavelVanecek in #6765
  • TypeScript: Export TooltipIndex, BarRectangleItem, TreemapNode, DataKey, AxisInterval from public API by @Copilot in #6676

Fix

  • Scatter: fix bug where Tooltip payload data was duplicated or contained unrelated items when using multiple Scatter elements in one ScatterChart by @PavelVanecek in #6773
  • Label/LabelList: Fix crash when Label is passed as content to LabelList by @Harikrushn9118 in #6732
  • General: Round numbers before putting them to DOM by @PavelVanecek in #6707
  • General: Store refs instead of IDs to unblock shadow DOM usecases by @PavelVanecek in #6753

Chore

  • CartesianAxis: Deprecate CartesianAxis @PavelVanecek in #6774
  • Bump to Node 24
  • Lots of undefined checks for progress towards TS strict mode

Docs

  • Docs should be improving on the daily - comments in code + storybook + the website should all be coming closer to in sync thanks to @PavelVanecek pretty much writing his own documentation generator 🤖 🚀

New Contributors

Full Changelog: v3.5.1...v3.6.0

Don't miss a new recharts release

NewReleases is sending notifications on new releases.