Update README.md

This commit is contained in:
Abhinandan Kushwaha 2021-11-15 13:59:46 +05:30 committed by GitHub
parent 6cd4b7ac40
commit 53db988682
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,12 @@ The most complete library for Bar, Line, Area, Pie, and Donut charts in React Na
## Installation
```sh
npm install react-native-gifted-charts react-native-linear-gradient react-native-svg
npm install react-native-gifted-charts react-native-linear-gradient
```
For Line and Area charts, add the react-native-svg package too -
```
npm install react-native-svg
```
For Pie chart and Donut chart, these additional packages should be installed-
@ -38,7 +43,6 @@ For Pie chart and Donut chart, these additional packages should be installed-
npm i react-native-canvas react-native-webview
```
You can omit the above packages if you don't intend to use Pie chart or Donut chart.
For iOS-