React Native MultiLine (classic) for Expo
The v1.1 line chart with a big value header.
Also known as: multi line chart, multiple series line chart, comparison chart.
<MultiLineChart />1 variant
Live — the real React Native component rendered with react-native-web. Tap, drag and scrub it.
Installation
terminal
npx expo install expo-charts react-native-svgUsage
Import the component and pass your data. Width defaults to the parent, so it adapts to phones, tablets and rotation.
Like this? There's a lot more in Pro Pro
12 full screens built from the same kit — install them the same way.
Props
| Prop | Type | Default |
|---|---|---|
| series Lines. | { name, data, color? }[] | — |
| labels X labels. | string[] | — |
FAQ
How do I make a multi line chart in React Native?
Use ExpoKit's MultiLine (classic): install the expo-charts package (
npx expo install expo-charts react-native-svg) and render <MultiLineChart data={…} />. It's animated and touchable, and works on iOS, Android, web and in Expo Go.Does MultiLine (classic) work in Expo Go?
Yes. It draws with
react-native-svg, which Expo Go includes, so it runs on iOS and Android with no development build.Is MultiLine (classic) free?
Yes. MultiLine (classic) is in
expo-charts, which is free and MIT-licensed.