Skip to content

Releases

expo-charts 2.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 20:54

expo-charts@2.0.0 — npm

npx expo install expo-charts@2 react-native-svg

What's new

  • 21 charts (up from 3): Bar, Line, Area, Pie, Donut, Multi-line, Stacked / grouped bars, Ranking bars, Radar, Activity rings, Gauge, Candlestick, Heatmap, Funnel and Sparkline
  • shadcn-style series charts — AreaSeriesChart, LineSeriesChart, BarSeriesChart, ComboChart, PieSeriesChart, RadialSeriesChart (also as Chart.Area, Chart.Pie, …) with rows of data + a series config
  • Theming — wrap your app in ChartProvider (palettes, light / dark, radius); ChartCard, ChartTooltip, ChartLegend
  • Charts fill their parent when width is left out, morph smoothly when data changes, and support scrubbing, tap-to-select and legend toggles

Breaking changes

PieChart takes an array. Before:

<PieChart data={{ data: [{ label: 'Organic', value: 42 }, { label: 'Paid', value: 28 }] }} />

Now:

<PieChart data={[{ label: 'Organic', value: 42 }, { label: 'Paid', value: 28 }]} />

The ChartData, ChartProps and PieChartData types were removed — use ChartPoint and each chart's own props type (PieChartProps, BarChartProps, …). BarChart and LineChart props are unchanged.

Docs and live previews: https://expokit.karandev.in/docs/charts

@expokit/cli 0.2.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 20:46

@expokit/cli@0.2.0 — npm

First release from this repository.

Docs: https://expokit.karandev.in/docs