Update README.md

This commit is contained in:
Abhinandan Kushwaha 2021-08-07 17:25:16 +05:30 committed by GitHub
parent 5fc2035e99
commit 6947a37555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -19,15 +19,17 @@ The most complete library for Bar, Line, Area, Pie, and Donut charts in React Na
## Installation
```sh
npm install react-native-gifted-charts
npm install react-native-gifted-charts react-native-linear-gradient react-native-svg
```
Since we will be using LinearGradient, Svg and Canvas-
For Pie chart and Donut chart, these additional packages should be installed-
```sh
npm i react-native-linear-gradient react-native-svg react-native-canvas react-native-webview
npm i react-native-canvas react-native-webview
```
You can omit the above packages if you don't intend to use Pie chart or Donuut chart.
For iOS-
```sh