mirror of
https://github.com/status-im/react-native-gifted-charts.git
synced 2025-02-23 09:08:13 +00:00
Update BarChartProps.md
This commit is contained in:
parent
199638aae0
commit
54269372ec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user