From 53db988682977f152f5d3eb48b90b0c8c7064ed5 Mon Sep 17 00:00:00 2001 From: Abhinandan Kushwaha Date: Mon, 15 Nov 2021 13:59:46 +0530 Subject: [PATCH 1/7] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 560718e..ca0b3cc 100644 --- a/README.md +++ b/README.md @@ -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- From fa0b34e76972b0e4364d97fd52d6549cd4c2066d Mon Sep 17 00:00:00 2001 From: Abhinandan Kushwaha Date: Thu, 18 Nov 2021 12:32:05 +0530 Subject: [PATCH 2/7] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ca0b3cc..d4cb6e0 100644 --- a/README.md +++ b/README.md @@ -94,3 +94,5 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the ## License MIT + +[![Rate on Openbase](https://badges.openbase.com/js/rating/react-native-gifted-charts.svg)](https://openbase.com/js/react-native-gifted-charts?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) From b7074cf20493b04ba6528d35b1972b1e05db8e54 Mon Sep 17 00:00:00 2001 From: Abhinandan Kushwaha Date: Thu, 18 Nov 2021 12:34:42 +0530 Subject: [PATCH 3/7] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index d4cb6e0..f1f1f37 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# react-native-gifted-charts +# react-native-gifted-charts [![Rate on Openbase](https://badges.openbase.com/js/rating/react-native-gifted-charts.svg)](https://openbase.com/js/react-native-gifted-charts?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) The most complete library for Bar, Line, Area, Pie, and Donut charts in React Native. Allows 2D, 3D, gradient, animations and live data updates. @@ -94,5 +94,3 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the ## License MIT - -[![Rate on Openbase](https://badges.openbase.com/js/rating/react-native-gifted-charts.svg)](https://openbase.com/js/react-native-gifted-charts?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) From dbb32b53c08ad25542e2c61230f21616c6589000 Mon Sep 17 00:00:00 2001 From: Abhinandan Kushwaha Date: Thu, 18 Nov 2021 14:09:51 +0530 Subject: [PATCH 4/7] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f1f1f37..57edfa0 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,12 @@ const data=[ {value:50}, {value:80}, {value:90}, {value:70} ] See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow. +## Common issues + +| Issue | Solution | +| ---- | ---- | +| [#18](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/18) | [Comment by Abhinav](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/18#issuecomment-971662656) | + ## License MIT From 199638aae0e41c4d5ae51b448e96562b6fa05a02 Mon Sep 17 00:00:00 2001 From: Abhinandan Kushwaha Date: Thu, 18 Nov 2021 14:10:46 +0530 Subject: [PATCH 5/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57edfa0..78cbc06 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the | Issue | Solution | | ---- | ---- | -| [#18](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/18) | [Comment by Abhinav](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/18#issuecomment-971662656) | +| [When the isAnimated is enabled the labels are not showing for Bar Charts](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/18) | [Comment by Abhinav](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/18#issuecomment-971662656) | ## License From 54269372ec79868af31b23a2ae45bdf59bfa3b38 Mon Sep 17 00:00:00 2001 From: Abhinandan Kushwaha Date: Thu, 18 Nov 2021 14:15:21 +0530 Subject: [PATCH 6/7] Update BarChartProps.md --- docs/BarChart/BarChartProps.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/BarChart/BarChartProps.md b/docs/BarChart/BarChartProps.md index 540fe1f..6a40199 100644 --- a/docs/BarChart/BarChartProps.md +++ b/docs/BarChart/BarChartProps.md @@ -122,13 +122,24 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab --- ### Animation related props - + | Prop | Type | Description | Default value | | ----------------- | ------- | --------------------------------------------------------------------- | ------------- | | isAnimated | Boolean | To show animates BarChart. Animation occurs onLoad and on valu change | false | | animationDuration | number | Duration of the animations | 800 | | animationEasing | Easing | Easing applied to the animation | Easing.ease | + +**Alert!**\ +While rendering an Animated Bar chart, y axis labels may not appear sometimes. This can be fixed using a key prop as shown - + +```js + +``` + --- ### Bar related props for making Capped Bar chart From f5b71f20d0f30adce34295dbd0407a6c7585d776 Mon Sep 17 00:00:00 2001 From: Abhinandan Kushwaha Date: Thu, 18 Nov 2021 14:45:25 +0530 Subject: [PATCH 7/7] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 78cbc06..1b4675d 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the | Issue | Solution | | ---- | ---- | | [When the isAnimated is enabled the labels are not showing for Bar Charts](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/18) | [Comment by Abhinav](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/18#issuecomment-971662656) | +| [BarChart - Value and section line don't match](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/35) | [Comment by the owner](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/35#issuecomment-972673281) | ## License