react-native-gifted-charts 1.0.21 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,18 +29,15 @@ The most complete library for Bar, Line, Area, Pie, Donut and Stacked Bar charts
29
29
 
30
30
  ---
31
31
 
32
+ ## Version 1.2.x 🎉
33
+ Version 1.2.0 onwards we are dependent only on `react-native-svg` and `react-native-linear-gradient`. Earlier, Pie and Donut charts were rendered using `react-native-canvas`, but now they are also rendered using <b>svg</b>. We are no longer using `react-native-canvas` neither `react-native-webview`!
34
+
32
35
  ## Installation
33
36
 
34
37
  ```sh
35
38
  npm install react-native-gifted-charts react-native-linear-gradient react-native-svg
36
39
  ```
37
40
 
38
- For Pie chart and Donut chart, these additional packages should be installed-
39
-
40
- ```sh
41
- npm i react-native-canvas react-native-webview
42
- ```
43
-
44
41
  For iOS-
45
42
 
46
43
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gifted-charts",
3
- "version": "1.0.21",
3
+ "version": "1.2.0",
4
4
  "description": "The most complete library for Bar, Line, Area, Pie, Donut and Stacked Bar charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.",
5
5
  "main": "src/index.tsx",
6
6
  "files": [
@@ -29,10 +29,8 @@
29
29
  "@types/react": "^17.0.5",
30
30
  "@types/react-dom": "^17.0.3",
31
31
  "@types/react-native": "^0.64.5",
32
- "react-native-canvas": "^0.1.37",
33
32
  "react-native-linear-gradient": "^2.5.6",
34
33
  "react-native-svg": "^12.1.0",
35
- "react-native-webview": "^11.4.4",
36
34
  "typescript": "^4.2.4"
37
35
  },
38
36
  "devDependencies": {
@@ -64,4 +62,4 @@
64
62
  "jest": {
65
63
  "preset": "react-native"
66
64
  }
67
- }
65
+ }