Skip to content

Installation

Pro charts ship as a licensed package that is installed next to the public react-native-chart-kit package. Keep the public package installed because Pro charts share the same theme provider, renderer defaults, and React Native SVG peer dependency.

@chart-kit/pro is publicly installable from npm. Production use requires a valid Chart Kit Pro license.

React Native CLI

Terminal window
npm install react-native-chart-kit @chart-kit/pro react-native-svg

For iOS apps, install native pods after installing dependencies:

Terminal window
cd ios
pod install

Expo

Install the packages and let Expo choose the compatible react-native-svg version:

Terminal window
npm install react-native-chart-kit @chart-kit/pro
npx expo install react-native-svg

Imports

Modern public charts import from react-native-chart-kit/v2. Pro chart examples import from @chart-kit/pro.

import { LineChart } from "react-native-chart-kit/v2";
import { ComboChart } from "@chart-kit/pro";