Handled 0 values

This commit is contained in:
Abhinandan Kushwaha 2021-08-05 17:43:09 +05:30
commit 707e4af9ad
2 changed files with 21 additions and 3 deletions

View File

@ -58,6 +58,8 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| capColor | ColorValue | Color of the bar cap |
| capRadius | number | Border radius of the bar cap |
----
### Axes and rules related props
| Prop | Type | Description | Default value |
@ -88,6 +90,8 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| yAxisIndicesColor | Boolean | To hide axes, rules, labels altogether | false |
| rotateLabel | Boolean | To rotate the X axis labels (by 60deg) | false |
----
### Bar related props
| Prop | Type | Description | Default value |
@ -104,7 +108,9 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| activeOpacity | number | activeOpacity on pressing the bar | 0.2 |
| disablePress | Boolean | Prop to disable the bar press action | false |
#### Animation related props
----
### Animation related props
| Prop | Type | Description | Default value |
| ----------------- | ------- | --------------------------------------------------------------------- | ------------- |
@ -112,7 +118,9 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| animationDuration | number | Duration of the animations | 800 |
| animationEasing | Easing | Easing applied to the animation | Easing.ease |
#### Bar related props for making Capped Bar chart
----
### Bar related props for making Capped Bar chart
| Prop | Type | Description | Default value |
| ------------ | ---------- | ------------------------------- | ------------- |
@ -121,7 +129,9 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| capColor | ColorValue | Color of the bar caps | gray |
| capRadius | number | Border radius of the bar caps | 0 |
#### Props for horizontal BarChart
----
### Props for horizontal BarChart
| Prop | Type | Description | Default value |
| -------------- | ------- | --------------------------------------------------------------------------------------------- | ------------- |

View File

@ -47,6 +47,8 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| textColor | ColorValue | Color of the dataPointText |
| textFontSize | number | Font size of the dataPointText |
----
### Axes and rules related props
| Prop | Type | Description | Default value |
@ -77,6 +79,8 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| yAxisIndicesColor | Boolean | To hide axes, rules, labels altogether | false |
| rotateLabel | Boolean | To rotate the X axis labels (by 60deg) | false |
----
### Line related props
| Prop | Type | Description | Default value |
@ -89,6 +93,8 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| thickness2 | number | Thickness of the lines joining the second set of data points | thickness (from props) |
| curved | Boolean | To show curved line joining the data points | false |
----
### Data points related props
| Prop | Type | Description | Default value |
@ -112,6 +118,8 @@ So, all the three must be used together. Using any 1 or 2 of them may produce ab
| dataPointsColor2 | ColorValue | Color of data points for the second dataset | blue |
| dataPointsShape2 | string | Shape of data points for the second dataset (_'rectangular'_ or _'circular'_) | 'circular' |
----
### Props for Area Chart
| Prop | Type | Description | Default value |