Native Solid 2 fork of solid-recharts (MIT, © Thomas Guehenneux), derived from Recharts (MIT, © recharts). Adapted documentation; neither project endorses this fork.
Releases
Charts release notes.
0.1.0-rc.4 — synchronized next-suite release candidate
Charts is published as 0.1.0-rc.4 alongside the synchronized native package suite. Its selected public API scope is recorded in the rc.3 release history below; use the current exact-version npm and pnpm installation commands. This remains a selected adaptation set, not full Recharts parity.
0.1.0-rc.3 — next-suite release candidate (historical)
The selected Charts API scope below was first published as 0.1.0-rc.3: historical package. For current installation, use the exact-version npm and pnpm commands.
- Selected Recharts 3.10.1 adaptations A1–A13, not the full release: retained controlled Brush drag/data behavior; clearing stale active bars; Sankey accessibility; Legend placement and offset; automatic XAxis height; Pie label radii; stacked all-null Area connections; tooltip payload fallback; floating-point band sizes; polar wrap-around tooltips; custom Label positions; stable rendered-tick reporting; and bar gaps with clamped maximum bar size.
- Public APIs:
Legend positionandoffsetwith exportedCartesianPosition, defaultlayout="auto";XAxis height="auto"; andSankey title,desc, andaccessibilityLayer. See the live LineChart, BarChart, Sankey, and playground examples. - Selected post-3.10.1 fixes B1/B2 guard ReduceCSSCalc replacement strings and overlong expressions. No other post-release or canary API is included. CartesianGrid theme support remains deferred.
- Controlled Brush intentionally retains a dragged slide after mouseup even if the parent leaves
startIndexandendIndexunchanged. The new Primitives' strict controlled-refusal rule does not apply to this imported Charts behavior. - Position-set legends using the default mount have wrapper-owned server HTML and a zero measured box retained by first-client styles before browser measurement. No-position and explicit custom-portal legends keep their existing DOM-only path. Auto XAxis uses a matching 30px server/first-client fallback, then measures ticks and string labels after mount. Requested numeric heights and tick positions are unchanged, but shared server plot clips are corrected after axis registration, so SSR markup is not byte-identical. These measured layouts are not server-final; see the bounded SSR guidance.
- Imported solid-recharts/Recharts identities, native Solid 2 adaptations, D3 dependency versions and license notices are preserved. The package's
UPSTREAM.mdandupstream.jsoncarry the per-change status and regression evidence; the release as a whole remains tracked, not fully ported. - Published package: @wsagency/radix2solid-charts@0.1.0-rc.3.
0.1.0-rc.2
Historical published package: @wsagency/radix2solid-charts@0.1.0-rc.2.
- First Charts release in Radix2Solid: source copy of solid-recharts
2.0.0-beta.1(b1f9c67), tracking Recharts3.9.2(b3451050). Recharts3.10.1is tracked but not ported. - Built for
solid-jsand@solidjs/web2.0.0-rc.15with@solidjs/vite-plugin3.0.0-next.50;solid-jsand@solidjs/webare exact peer dependencies. - Fixed-size charts and
ResponsiveContainerwithinitialDimensionrender SVG on the server; the root SVG of a fixed-size chart hydrates in place. A bounded Cartesian recipe is regression-tested to keep the same tick positions and series geometry across hydration: axes before series, gutters reserved inmarginwith zero-size axes, abandcategory scale, an explicit valuedomainwithallowDataOverflow, andinterval={0}on both axes. Automatic domains and axis sizes, including stacked series, are not supported on the server: their server HTML is wrong until the client redraws it (recipe). LICENSEkeeps the solid-recharts and Recharts MIT notices;NOTICEcarries the ISC licenses of the external D3 dependencies (d3-scale,d3-shapeand the packages they resolve).- Historical published package: @wsagency/radix2solid-charts@0.1.0-rc.2. The newer rc.3 release candidate is published separately above.