npm recharts 3.7.0
v3.7.0

15 hours ago

What's Changed

📢 Cell is now deprecated and will be removed in the next major version. Please migrate all Cell usage to use the shape prop of respective chart elements. ‼️

Feat

New Hooks

Other

  • Tooltip: allow offset prop to accept Coordinate object by @bigsaigon333 in #6868
    X/YAxis add new axis type: "auto" by @PavelVanecek in #6823
    • sets the type to "category" for categorical axes, and "number" for numeric axis.
  • X/YAxis: replace tick: any with explicit type by @PavelVanecek in #6911
  • Bar/TypeScript: add BarShapeProps type to fix Bar.shape type by @PavelVanecek in #6900
  • TypeScript: add missing useful type exports for content, shape functions, etc. @PavelVanecek in #6852

Fix

  • BarChart: fix stackOffset=sign for charts with 3 or more positive values in one series by @PavelVanecek in #6807
  • BarStack: fix circular dependency when building with vite by @jkr2255 in #6777
  • BarStack: fix BarStack clipPath in charts with stackOffset=sign by @PavelVanecek in #6806
  • BarStack: apply bar stack radius to active bars by @PavelVanecek in #6906

Chore

Docs

We've started auto-generating our docs for the most part so you should see large improvements in accuracy of the docs between the code, the website, and the storybook. Huge shoutout to @PavelVanecek 🚀

New Contributors

Full Changelog: v3.6.0...v3.7.0

Don't miss a new recharts release

NewReleases is sending notifications on new releases.