useXAxisScale - returns a function to convert X data values to pixel positions
useYAxisScale - returns a function to convert Y data values to pixel positions
useCartesianScale - convenience hook for converting both at once
Pixels → Data:
... (truncated)
Commits
5b10788 chore(deps-dev): bump diff from 8.0.3 to 8.0.4 (#7156)
222396f chore(deps): bump react-router-dom from 7.13.1 to 7.13.2 (#7164)
c2642da chore(deps-dev): bump typescript-eslint from 8.57.1 to 8.57.2 (#7166)
b186929 fix(RechartsWrapper): prevent ResizeObserver memory leak on ref update (#7161)
738f71f fix(Tooltip): prevent crash on sparse or undefined payload entries (#7149)
00daf0b chore(deps-dev): bump rollup from 4.59.0 to 4.60.0 (#7158)
eba4f2a chore(deps-dev): bump marked from 17.0.4 to 17.0.5 (#7157)
201d060 fix: resolve keyboard navigation and tooltip issues for Pie charts (#6921) (#...
670d092 chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 (#7150)
86ca8de fix: stackOffset expand should not override numerical XAxis domain (#7152)
This version was pushed to npm by corkscreewe, a new releaser for recharts since your current version.
Install script changes
This version modifies prepare script that runs during installation. Review the package contents before updating.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/fosrl/pangolin/pull/2746
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 3/31/2026
**Status:** 🔄 Open
**Base:** `main` ← **Head:** `dependabot/npm_and_yarn/recharts-3.8.1`
---
### 📝 Commits (1)
- [`a41cf72`](https://github.com/fosrl/pangolin/commit/a41cf72d1ef8e29b0c469a60d65a3e4c8a6c778f) Bump recharts from 2.15.4 to 3.8.1
### 📊 Changes
**2 files changed** (+142 additions, -102 deletions)
<details>
<summary>View changed files</summary>
📝 `package-lock.json` (+141 -101)
📝 `package.json` (+1 -1)
</details>
### 📄 Description
Bumps [recharts](https://github.com/recharts/recharts) from 2.15.4 to 3.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/recharts/recharts/releases">recharts's releases</a>.</em></p>
<blockquote>
<h2>v3.8.1</h2>
<h2>What's Changed</h2>
<p>Bugfixes!</p>
<ul>
<li>fix(z-index): prevent elements from disappearing during dynamic zIndex transitions by <a href="https://github.com/VIDHITTS"><code>@VIDHITTS</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7006">recharts/recharts#7006</a></li>
<li>fix: prevent tooltip flicker in syncMethod="value" with mismatched data arrays by <a href="https://github.com/roy7"><code>@roy7</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7020">recharts/recharts#7020</a></li>
<li>docs: add missing SVG props documentation to PolarGrid <a href="https://redirect.github.com/recharts/recharts/issues/3400">#3400</a> by <a href="https://github.com/ramanverse"><code>@ramanverse</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/6987">recharts/recharts#6987</a></li>
<li>fix: add cursor prop type to BaseChartProps by <a href="https://github.com/mixelburg"><code>@mixelburg</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7065">recharts/recharts#7065</a></li>
<li>fix: restore arrow key navigation when active index is outside zoomed… by <a href="https://github.com/AbishekRaj2007"><code>@AbishekRaj2007</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7086">recharts/recharts#7086</a></li>
<li>Add test for ticks spacing by <a href="https://github.com/VIDHITTS"><code>@VIDHITTS</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7082">recharts/recharts#7082</a></li>
<li>fix(Pie): skip minAngle redistribution when no segment needs it by <a href="https://github.com/Harikrushn9118"><code>@Harikrushn9118</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7097">recharts/recharts#7097</a></li>
<li>fix(DefaultLegendContent): use entry.value for aria-label when formatter returns React element by <a href="https://github.com/mixelburg"><code>@mixelburg</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7109">recharts/recharts#7109</a></li>
<li>fix(PolarRadiusAxis): update ticks prop type by <a href="https://github.com/PavelVanecek"><code>@PavelVanecek</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7112">recharts/recharts#7112</a></li>
<li>fix: PieChart double padding gap when a data item has value 0 by <a href="https://github.com/Copilot"><code>@Copilot</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7113">recharts/recharts#7113</a></li>
<li>Add boxplot example by <a href="https://github.com/PavelVanecek"><code>@PavelVanecek</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7130">recharts/recharts#7130</a></li>
<li>[fix] Update ticks calculator and domain extension by <a href="https://github.com/PavelVanecek"><code>@PavelVanecek</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7146">recharts/recharts#7146</a></li>
<li>fix: guard against non-function d3-scale exports in getD3ScaleFromType by <a href="https://github.com/tdebarochez"><code>@tdebarochez</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7123">recharts/recharts#7123</a></li>
<li>fix: stackOffset expand should not override numerical XAxis domain by <a href="https://github.com/SeaL773"><code>@SeaL773</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7152">recharts/recharts#7152</a></li>
<li>fix: resolve keyboard navigation and tooltip issues for Pie charts (<a href="https://redirect.github.com/recharts/recharts/issues/6921">#6921</a>) by <a href="https://github.com/olagokemills"><code>@olagokemills</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7140">recharts/recharts#7140</a></li>
<li>fix(Tooltip): prevent crash on sparse or undefined payload entries by <a href="https://github.com/Om-Mishra09"><code>@Om-Mishra09</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7149">recharts/recharts#7149</a></li>
<li>fix(RechartsWrapper): prevent ResizeObserver memory leak on ref update by <a href="https://github.com/Om-Mishra09"><code>@Om-Mishra09</code></a> in <a href="https://redirect.github.com/recharts/recharts/pull/7161">recharts/recharts#7161</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/AbishekRaj2007"><code>@AbishekRaj2007</code></a> made their first contribution in <a href="https://redirect.github.com/recharts/recharts/pull/7086">recharts/recharts#7086</a></li>
<li><a href="https://github.com/tdebarochez"><code>@tdebarochez</code></a> made their first contribution in <a href="https://redirect.github.com/recharts/recharts/pull/7123">recharts/recharts#7123</a></li>
<li><a href="https://github.com/SeaL773"><code>@SeaL773</code></a> made their first contribution in <a href="https://redirect.github.com/recharts/recharts/pull/7152">recharts/recharts#7152</a></li>
<li><a href="https://github.com/olagokemills"><code>@olagokemills</code></a> made their first contribution in <a href="https://redirect.github.com/recharts/recharts/pull/7140">recharts/recharts#7140</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/recharts/recharts/compare/v3.8.0...v3.8.1">https://github.com/recharts/recharts/compare/v3.8.0...v3.8.1</a></p>
<h2>v3.8.0</h2>
<h2>What's Changed</h2>
<p>We added generics to our <code>data</code> and <code>dataKey</code> props and now you can have your charts validated by TypeScript. See the full guide here: <a href="https://recharts.github.io/en-US/guide/typescript/">https://recharts.github.io/en-US/guide/typescript/</a></p>
<p>We are releasing new helper functions and hooks that will allow you to precisely target mouse interactions, and convert coordinates. See the guide here: <a href="https://recharts.github.io/en-US/guide/coordinateSystems/">https://recharts.github.io/en-US/guide/coordinateSystems/</a></p>
<p>And new functions and hooks:</p>
<p><a href="https://recharts.github.io/en-US/api/getRelativeCoordinate/">getRelativeCoordinate</a> - converts mouse events to pixel positions</p>
<p>Convert Data → Pixels:</p>
<p><a href="https://recharts.github.io/en-US/api/useXAxisScale">useXAxisScale</a> - returns a function to convert X data values to pixel positions
<a href="https://recharts.github.io/en-US/api/useYAxisScale">useYAxisScale</a> - returns a function to convert Y data values to pixel positions
<a href="https://recharts.github.io/en-US/api/useCartesianScale">useCartesianScale</a> - convenience hook for converting both at once</p>
<p>Pixels → Data:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/recharts/recharts/commit/5b10788d082424d026480d63d18ca5c8a5a5628f"><code>5b10788</code></a> chore(deps-dev): bump diff from 8.0.3 to 8.0.4 (<a href="https://redirect.github.com/recharts/recharts/issues/7156">#7156</a>)</li>
<li><a href="https://github.com/recharts/recharts/commit/222396f4cfacf2e5cb36117fa55554f35827b758"><code>222396f</code></a> chore(deps): bump react-router-dom from 7.13.1 to 7.13.2 (<a href="https://redirect.github.com/recharts/recharts/issues/7164">#7164</a>)</li>
<li><a href="https://github.com/recharts/recharts/commit/c2642da3651024f9d653fbcf0f4698c3b95fc4c0"><code>c2642da</code></a> chore(deps-dev): bump typescript-eslint from 8.57.1 to 8.57.2 (<a href="https://redirect.github.com/recharts/recharts/issues/7166">#7166</a>)</li>
<li><a href="https://github.com/recharts/recharts/commit/b186929221a6d321f82785aa291e8d3a0aa4d5c4"><code>b186929</code></a> fix(RechartsWrapper): prevent ResizeObserver memory leak on ref update (<a href="https://redirect.github.com/recharts/recharts/issues/7161">#7161</a>)</li>
<li><a href="https://github.com/recharts/recharts/commit/738f71f63323b065e9171fe06b191c1f4c29cbfc"><code>738f71f</code></a> fix(Tooltip): prevent crash on sparse or undefined payload entries (<a href="https://redirect.github.com/recharts/recharts/issues/7149">#7149</a>)</li>
<li><a href="https://github.com/recharts/recharts/commit/00daf0bee79a06103cb2b5ea88e7da0df47af539"><code>00daf0b</code></a> chore(deps-dev): bump rollup from 4.59.0 to 4.60.0 (<a href="https://redirect.github.com/recharts/recharts/issues/7158">#7158</a>)</li>
<li><a href="https://github.com/recharts/recharts/commit/eba4f2a62509c9712e1da34e5866bf2ae08d5500"><code>eba4f2a</code></a> chore(deps-dev): bump marked from 17.0.4 to 17.0.5 (<a href="https://redirect.github.com/recharts/recharts/issues/7157">#7157</a>)</li>
<li><a href="https://github.com/recharts/recharts/commit/201d06044a10f8e026c9ce1b39ef88affa04d4b4"><code>201d060</code></a> fix: resolve keyboard navigation and tooltip issues for Pie charts (<a href="https://redirect.github.com/recharts/recharts/issues/6921">#6921</a>) (#...</li>
<li><a href="https://github.com/recharts/recharts/commit/670d09260178bf85f9399840fb0fa9e91a362c4e"><code>670d092</code></a> chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 (<a href="https://redirect.github.com/recharts/recharts/issues/7150">#7150</a>)</li>
<li><a href="https://github.com/recharts/recharts/commit/86ca8de285cca4661f932926cc32b888ee553711"><code>86ca8de</code></a> fix: stackOffset expand should not override numerical XAxis domain (<a href="https://redirect.github.com/recharts/recharts/issues/7152">#7152</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/recharts/recharts/compare/v2.15.4...v3.8.1">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~corkscreewe">corkscreewe</a>, a new releaser for recharts since your current version.</p>
</details>
<details>
<summary>Install script changes</summary>
<p>This version modifies <code>prepare</code> script that runs during installation. Review the package contents before updating.</p>
</details>
<br />
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2746
Author: @dependabot[bot]
Created: 3/31/2026
Status: 🔄 Open
Base:
main← Head:dependabot/npm_and_yarn/recharts-3.8.1📝 Commits (1)
a41cf72Bump recharts from 2.15.4 to 3.8.1📊 Changes
2 files changed (+142 additions, -102 deletions)
View changed files
📝
package-lock.json(+141 -101)📝
package.json(+1 -1)📄 Description
Bumps recharts from 2.15.4 to 3.8.1.
Release notes
Sourced from recharts's releases.
... (truncated)
Commits
5b10788chore(deps-dev): bump diff from 8.0.3 to 8.0.4 (#7156)222396fchore(deps): bump react-router-dom from 7.13.1 to 7.13.2 (#7164)c2642dachore(deps-dev): bump typescript-eslint from 8.57.1 to 8.57.2 (#7166)b186929fix(RechartsWrapper): prevent ResizeObserver memory leak on ref update (#7161)738f71ffix(Tooltip): prevent crash on sparse or undefined payload entries (#7149)00daf0bchore(deps-dev): bump rollup from 4.59.0 to 4.60.0 (#7158)eba4f2achore(deps-dev): bump marked from 17.0.4 to 17.0.5 (#7157)201d060fix: resolve keyboard navigation and tooltip issues for Pie charts (#6921) (#...670d092chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 (#7150)86ca8defix: stackOffset expand should not override numerical XAxis domain (#7152)Maintainer changes
This version was pushed to npm by corkscreewe, a new releaser for recharts since your current version.
Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.