Charts release notes
What changed in each release of @delacour/react-native-charts, from the changesets that shipped it.
Every version of @delacour/react-native-charts. The headless charting engine Chart is built on. It shares one version with the other Delacour packages — see Release channels.
0.8.0
No changes to this package. It moved to keep the four versions in step.
0.7.0
No changes to this package. It moved to keep the four versions in step.
0.6.0
No changes to this package. It moved to keep the four versions in step.
0.2.0
Minor changes
- #251 Move to
react-native-skia3, the package@shopify/react-native-skiawas renamed to. The optionalreact-native-skiapeer replaces@shopify/react-native-skiaand needs>=3.7.3, which needs AndroidminSdkVersion26.Sketch'stoPNG()renders onSkia.Surface.MakeRaster.
Patch changes
- #251 Fix Skia canvases —
Chart,Flow,SectionProgress,Signature,Sketch,Tour— that came up blank after a JS reload (the dev menu's, orUpdates.reloadAsyncafter an OTA update) until something re-rendered them.react-native-skia3.7.3 allocates canvas ids natively, unique for the life of the process, so the optionalreact-native-skiapeer now needs>=3.7.3.
0.1.0
Minor changes
-
#48 Publish the libraries under the
@delacourorgdelacour-react-native-uiis now@delacour/react-native-ui, anddelacour-react-native-chartsis now@delacour/react-native-charts. The old names are deprecated and take no further versions. (Both were briefly spelled@delacour/native-uiand@delacour/chartsin this repository; neither reached npm, so the line above is the whole story for anyone installing.) Nothing about the components changed — swap the package and the import prefix:bun remove delacour-react-native-ui delacour-react-native-charts bun add @delacour/react-native-ui@alpha @delacour/react-native-charts@alpha- import { Button } from "delacour-react-native-ui/button"; + import { Button } from "@delacour/react-native-ui/button";and in
global.css,@import '@delacour/react-native-ui/styles';.The CLI keeps its name.
delacour add chartnow installs@delacour/react-native-charts. -
#22 Add bar, scatter, candlestick and pie charts, stacked areas and horizontal bars
@delacour/react-native-chartsgains four marks and a second root.ChartBardraws one bar per datum on a cubic-cornered rect path, so a corner radius animates without snapping; sibling bars share a step and bars naming onestackIdstack in data space, so the y domain covers the running totals rather than the tallest series.ChartAreatakes the samestackId.ChartScatteris one Skia path per series, andChartCandlestickdraws every candle through every sentiment path so a colour flip is a morph rather than a cut.orientation="horizontal"swaps the axis roles at the model, so bars grow rightward from a category axis.PolarChartis the new root, withPieSliceson a fixed-verb path that morphs between any two data sets and a scrub-free tap that resolves a slice index.@delacour/react-native-charts/coreexports the bar, scatter, candle and slice geometry alongside the scales.@delacour/react-native-ui/chartskins all of it.Chart.Bar,Chart.ScatterandChart.CandlestickjoinChart.LineandChart.Area; bars group by being siblings, stack by sharing astackId, round their value end from--radius, and takelabels. Candles borrowsuccess,destructiveandmuted-foregroundfor their sentiment. Over bars or candlesChart.Tooltip.Xbecomes a band one step wide.PieChartis a second root —PieChart.Slice,.Label,.Center,.Tooltipand.Legend— whose categories are its rows, withinnerRadiusfor a donut and a tap-driven readout.Series colours now dedupe before the theme lookup, so twenty slices walking the five-token ramp resolve five tokens rather than throwing past the eighth.
The CLI's chart registry item picks up the new files and names the new marks in its description.
-
#53 Name both libraries for what they are
@delacour/react-native-uiand@delacour/react-native-charts— the names they published under before the scope, with thedelacour-prefix traded for@delacour/rather than dropped. Every subpath keeps its spelling (@delacour/react-native-ui/button,@delacour/react-native-charts/core), so only the package half of an import changes.The pair now matches: the charts package was briefly
@delacour/charts, which did not say React Native and did not sit beside its sibling. Neither intermediate spelling reached npm.The CLI stays
delacour, unscoped, because it is the thing people type:bunx delacour@alpha add button.@types/reactis pinned in the workspace catalog as part of this: four packages declared three different ranges, so two copies were always installed and only hoisting order decided which reached the root. The rename changed that order, splitReftypes across two copies and collapsed everyComponentRef<typeof Animated.View>tonever. -
#22 Add charts: a headless Skia engine, and the
Chartcomponent that skins it@delacour/react-native-chartsis new — a token-free charting engine for React Native, drawn with Skia, animated with Reanimated and driven by Gesture Handler. It shipsCartesianChartwithLine,Area,Gridand both axes, a scrub whose dot rides the drawn curve rather than hopping between data points, and path morphing that never falls back to snapping.@delacour/react-native-charts/coreis every scale, tick, curve and solver in it, importable with no Skia in the module graph.@delacour/react-native-ui/chartis that engine wearing the theme. A shadcn-shapedconfignames each series and assigns--chart-1…--chart-5by position, so a call site writes<Chart.Line yKey="revenue" />and never a colour. Parts are placed rather than configured:Chart.Grid,Chart.Line,Chart.Area,Chart.XAxisandChart.YAxisdraw into the canvas, whileChart.TooltipandChart.Legendare React Native views layered over and under it.Also new:
--spacing-chart-sm/md/lg, because a canvas has no intrinsic height and a dashboard's rows only line up if every chart agrees on one.This needs a dev-client rebuild.
@shopify/react-native-skiais a native module and is new to the workspace — runexpo prebuild --cleanand rebuild before running the playground.The CLI learns two things: how to install a Skia-backed component, and that
@delacour/react-native-chartspublishes to thealphatag while this repository is in pre mode, since a barebun addof it would resolvelatestand find nothing.
Patch changes
-
#72 List every native peer in the install command. The charts README's
expo installline named only Skia, anddelacour add chartskipped Gesture Handler — the scrub and the pie's tap then never fire, with no error. -
#73
ChartCursorLinedraws again. The rule resolved its position through a nested worklet helper and never appeared on device — in a bare scrub and in every themedChart.Tooltipcrosshair — whileChartCursorDotdid. It now reads the scrub inline. -
#29 Let
useSystemFont(undefined, size)fall through to the platform fontmatchFontspreads the style it is given over its own defaults, so passingfontFamily: undefinederased the default instead of deferring to it and threw "Value is undefined, expected a String" from inside Skia. The key is now omitted when no family is given, which is what the documentation had always shown.
0.1.0-alpha.5
Patch changes
-
#72 List every native peer in the install command. The charts README's
expo installline named only Skia, anddelacour add chartskipped Gesture Handler — the scrub and the pie's tap then never fire, with no error. -
#73
ChartCursorLinedraws again. The rule resolved its position through a nested worklet helper and never appeared on device — in a bare scrub and in every themedChart.Tooltipcrosshair — whileChartCursorDotdid. It now reads the scrub inline.
0.1.0-alpha.4
Minor changes
-
#53 Name both libraries for what they are
@delacour/react-native-uiand@delacour/react-native-charts— the names they published under before the scope, with thedelacour-prefix traded for@delacour/rather than dropped. Every subpath keeps its spelling (@delacour/react-native-ui/button,@delacour/react-native-charts/core), so only the package half of an import changes.The pair now matches: the charts package was briefly
@delacour/charts, which did not say React Native and did not sit beside its sibling. Neither intermediate spelling reached npm.The CLI stays
delacour, unscoped, because it is the thing people type:bunx delacour@alpha add button.@types/reactis pinned in the workspace catalog as part of this: four packages declared three different ranges, so two copies were always installed and only hoisting order decided which reached the root. The rename changed that order, splitReftypes across two copies and collapsed everyComponentRef<typeof Animated.View>tonever.
0.1.0-alpha.3
Minor changes
-
#48 Publish the libraries under the
@delacourorgdelacour-react-native-uiis now@delacour/react-native-ui, anddelacour-react-native-chartsis now@delacour/react-native-charts. The old names are deprecated and take no further versions. Nothing about the components changed — swap the package and the import prefix:bun remove delacour-react-native-ui delacour-react-native-charts bun add @delacour/react-native-ui@alpha @delacour/react-native-charts@alpha- import { Button } from "delacour-react-native-ui/button"; + import { Button } from "@delacour/react-native-ui/button";and in
global.css,@import '@delacour/react-native-ui/styles';.The CLI keeps its name.
delacour add chartnow installs@delacour/react-native-charts.
0.1.0-alpha.2
Patch changes
-
#29 Let
useSystemFont(undefined, size)fall through to the platform fontmatchFontspreads the style it is given over its own defaults, so passingfontFamily: undefinederased the default instead of deferring to it and threw "Value is undefined, expected a String" from inside Skia. The key is now omitted when no family is given, which is what the documentation had always shown.
0.1.0-alpha.1
Minor changes
-
#22 Add bar, scatter, candlestick and pie charts, stacked areas and horizontal bars
@delacour/react-native-chartsgains four marks and a second root.ChartBardraws one bar per datum on a cubic-cornered rect path, so a corner radius animates without snapping; sibling bars share a step and bars naming onestackIdstack in data space, so the y domain covers the running totals rather than the tallest series.ChartAreatakes the samestackId.ChartScatteris one Skia path per series, andChartCandlestickdraws every candle through every sentiment path so a colour flip is a morph rather than a cut.orientation="horizontal"swaps the axis roles at the model, so bars grow rightward from a category axis.PolarChartis the new root, withPieSliceson a fixed-verb path that morphs between any two data sets and a scrub-free tap that resolves a slice index.@delacour/react-native-charts/coreexports the bar, scatter, candle and slice geometry alongside the scales.@delacour/react-native-ui/chartskins all of it.Chart.Bar,Chart.ScatterandChart.CandlestickjoinChart.LineandChart.Area; bars group by being siblings, stack by sharing astackId, round their value end from--radius, and takelabels. Candles borrowsuccess,destructiveandmuted-foregroundfor their sentiment. Over bars or candlesChart.Tooltip.Xbecomes a band one step wide.PieChartis a second root —PieChart.Slice,.Label,.Center,.Tooltipand.Legend— whose categories are its rows, withinnerRadiusfor a donut and a tap-driven readout.Series colours now dedupe before the theme lookup, so twenty slices walking the five-token ramp resolve five tokens rather than throwing past the eighth.
The CLI's chart registry item picks up the new files and names the new marks in its description.
-
#22 Add charts: a headless Skia engine, and the
Chartcomponent that skins it@delacour/react-native-chartsis new — a token-free charting engine for React Native, drawn with Skia, animated with Reanimated and driven by Gesture Handler. It shipsCartesianChartwithLine,Area,Gridand both axes, a scrub whose dot rides the drawn curve rather than hopping between data points, and path morphing that never falls back to snapping.@delacour/react-native-charts/coreis every scale, tick, curve and solver in it, importable with no Skia in the module graph.@delacour/react-native-ui/chartis that engine wearing the theme. A shadcn-shapedconfignames each series and assigns--chart-1…--chart-5by position, so a call site writes<Chart.Line yKey="revenue" />and never a colour. Parts are placed rather than configured:Chart.Grid,Chart.Line,Chart.Area,Chart.XAxisandChart.YAxisdraw into the canvas, whileChart.TooltipandChart.Legendare React Native views layered over and under it.Also new:
--spacing-chart-sm/md/lg, because a canvas has no intrinsic height and a dashboard's rows only line up if every chart agrees on one.This needs a dev-client rebuild.
@shopify/react-native-skiais a native module and is new to the workspace — runexpo prebuild --cleanand rebuild before running the playground.The CLI learns two things: how to install a Skia-backed component, and that
@delacour/react-native-chartspublishes to thealphatag while this repository is in pre mode, since a barebun addof it would resolvelatestand find nothing.