Merge pull request #96 from Abhinandan-Kushwaha/fix/labels

Added doc for labelsExtraHeight
This commit is contained in:
Abhinandan Kushwaha 2022-02-24 05:35:31 +05:30 committed by GitHub
commit 450043ff83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ The properties of this line chart can be controlled using the `lineConfig` prop
| rotateLabel | Boolean | To rotate the X axis labels (by 60deg) | false |
| hideOrigin | Boolean | To hide the y Axis label at origin (i.e. 0) | false |
| labelWidth | number | Width of the Label text appearing below the bar (under the X axis) | barWidth |
| labelsExtraHeight | number | used to display large labels on X-axis (often rotated to show vertically) | 0 |
**Note** If you are setting yAxisSide to 'right', make sure to specify the width of the chart, using the `width` prop