Update BarChartProps.md

This commit is contained in:
Abhinandan Kushwaha 2021-11-18 14:15:21 +05:30 committed by GitHub
parent 199638aae0
commit 54269372ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
<BarChart
key={'xyz'}
data={data}
isAnimated/>
```
---
### Bar related props for making Capped Bar chart