From 43249de3e84a79e9358684d86936b7cd53bcca9c Mon Sep 17 00:00:00 2001 From: wangyue Date: Thu, 8 May 2025 15:38:47 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IC3D92]=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=20react-native-gifted-charts=20=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E5=BA=93=E6=8C=87=E5=AF=BC=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangyue --- en/react-native-gifted-charts.md | 6 +++--- zh-cn/react-native-gifted-charts.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/en/react-native-gifted-charts.md b/en/react-native-gifted-charts.md index f1b72a6f..e00d0f8c 100644 --- a/en/react-native-gifted-charts.md +++ b/en/react-native-gifted-charts.md @@ -279,7 +279,7 @@ For details, see [react-native-gifted-charts](https://github.com/Abhinandan-Kush | xAxisLabelsVerticalShift | prop to adjust the vertical position of X axis labels (move X axis labels up or down) | number | no | all | yes | labelsExtraHeight | used to display large rotated labels on X-axis (use this only when using the **rotateLabel** prop) | number | no | all | yes | secondaryYAxis | displays and controls the properties of the secondary Y axis on the right side | secondaryYAxisType | no | all | yes -| secondaryData | the secondary data that will be rendered along the secondary Y axis | Array of items | no | all | yes +| secondaryData | the secondary data that will be rendered along the secondary Y axis | Array of items | no | all | no **Bar related props** | Name | Description | Type | Required | Platform | HarmonyOS Support | @@ -572,7 +572,7 @@ For details, see [react-native-gifted-charts](https://github.com/Abhinandan-Kush | rotateLabel | To rotate the X axis labels (by 60deg) | boolean | no | all | yes | hideOrigin | To hide the y Axis label at origin (i.e. 0) | boolean | no | all | yes | secondaryYAxis | displays and controls the properties of the secondary Y axis on the right side | secondaryYAxisType | no | all |yes -| secondaryData | the secondary data that will be rendered along the secondary Y axis | Array of items | no | all |no +| secondaryData | the secondary data that will be rendered along the secondary Y axis | Array of items | no | all | yes | secondaryLineConfig | properties of the secondary data line (secondaryLineConfigType is described below) | secondaryLineConfigType| no | all |yes **Line related props** @@ -957,7 +957,7 @@ For details, see [react-native-gifted-charts](https://github.com/Abhinandan-Kush | midAxisLabelFontStyle | self explanatory | FontStyle | no | all | yes | | midAxisLabelFontWeight | self explanatory | FontWeight | no | all | yes | | midAxisLabelFontFamily | self explanatory | string | no | all | no | -| barLabelWidth | width of the labels displayed behind the bars (both left and right bars) | number | no | all | no | +| barLabelWidth | width of the labels displayed behind the bars (both left and right bars) | number | no | all | yes | | barLabelFontSize | font size of the labels displayed behind the bars (both left and right bars) | number | no | all | yes | | barLabelColor | color of the of the labels displayed behind the bars (both left and right bars) | ColorValue | no | all | yes | | barLabelFontStyle | font style of the labels displayed behind the bars (both left and right bars) | FontStyle | no | all | yes | diff --git a/zh-cn/react-native-gifted-charts.md b/zh-cn/react-native-gifted-charts.md index ed9abc7e..5b4a81bb 100644 --- a/zh-cn/react-native-gifted-charts.md +++ b/zh-cn/react-native-gifted-charts.md @@ -277,7 +277,7 @@ export default function () { | xAxisLabelsVerticalShift | prop to adjust the vertical position of X axis labels (move X axis labels up or down) | number | no | all | yes | labelsExtraHeight | used to display large rotated labels on X-axis (use this only when using the **rotateLabel** prop) | number | no | all | yes | secondaryYAxis | displays and controls the properties of the secondary Y axis on the right side | secondaryYAxisType | no | all | yes -| secondaryData | the secondary data that will be rendered along the secondary Y axis | Array of items | no | all | yes +| secondaryData | the secondary data that will be rendered along the secondary Y axis | Array of items | no | all | no **Bar related props** | Name | Description | Type | Required | Platform | HarmonyOS Support | @@ -570,7 +570,7 @@ export default function () { | rotateLabel | To rotate the X axis labels (by 60deg) | boolean | no | all | yes | hideOrigin | To hide the y Axis label at origin (i.e. 0) | boolean | no | all | yes | secondaryYAxis | displays and controls the properties of the secondary Y axis on the right side | secondaryYAxisType | no | all |yes -| secondaryData | the secondary data that will be rendered along the secondary Y axis | Array of items | no | all |no +| secondaryData | the secondary data that will be rendered along the secondary Y axis | Array of items | no | all | yes | secondaryLineConfig | properties of the secondary data line (secondaryLineConfigType is described below) | secondaryLineConfigType| no | all |yes **Line related props** -- Gitee