From 4f183abe1b944704e646b7e084ca052d2ba4ad9c Mon Sep 17 00:00:00 2001 From: KrrI Date: Tue, 25 Mar 2025 11:56:03 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20[Issues:=20#IBVZYR]:=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9react-native-gifted-charts=E6=96=87=E6=A1=A3,1.4.16?= =?UTF-8?q?=E4=B8=8D=E6=94=AF=E6=8C=81sectionColors=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: KrrI --- en/react-native-gifted-charts.md | 7 ++++--- zh-cn/react-native-gifted-charts.md | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/en/react-native-gifted-charts.md b/en/react-native-gifted-charts.md index d2427cc2..6dca405a 100644 --- a/en/react-native-gifted-charts.md +++ b/en/react-native-gifted-charts.md @@ -121,7 +121,7 @@ For details, see [react-native-gifted-charts](https://github.com/Abhinandan-Kush | negativeStepHeight | Height of 1 step/section in the Y axis for negative values (in the 4th quadrant) | number | no | all | yes | spacing | Distance between 2 consecutive bars in the Bar chart | number | no | all | yes | backgroundColor | Background color of the Bar chart | ColorValue | no | all | yes -| sectionColors | Background color of the horizontal sections of the chart | Array | no | all | yes +| sectionColors | Background color of the horizontal sections of the chart | Array | no | all | no | scrollref | ref object that can be used to control the horizontal ScrollView inside which the chart is rendered | any | no | all | yes | scrollToIndex | scroll to a particular index on chart load | number | no | all | yes | disableScroll | To disable horizontal scroll | boolean | no | all | yes @@ -445,7 +445,7 @@ For details, see [react-native-gifted-charts](https://github.com/Abhinandan-Kush | spacing | Distance between 2 consecutive bars in the Bar chart | number | no | all | yes | adjustToWidth | When set to true, it auto computes the spacing value to fit the Line chart in the available width | boolean | no | all | yes | backgroundColor | Background color of the Bar chart | ColorValue | no | all | yes -| sectionColors | Background color of the horizontal sections of the chart | Array | no | all | yes +| sectionColors | Background color of the horizontal sections of the chart | Array | no | all | no | scrollref | ref object that can be used to control the horizontal ScrollView inside which the chart is rendered | any | no | all | yes | scrollToIndex | scroll to a particular index on chart load | number | no | all | yes | disableScroll | To disable horizontal scroll | boolean | no | all | yes @@ -1023,7 +1023,8 @@ For details, see [react-native-gifted-charts](https://github.com/Abhinandan-Kush - [ ] PopulationPyramid yAxisLabelFontFamily 不生效,svg 问题。[issue#21](https://github.com/react-native-oh-library/react-native-gifted-charts/issues/21) - [ ] PopulationPyramid midAxisLabelFontFamily 不生效,svg 问题。[issue#22](https://github.com/react-native-oh-library/react-native-gifted-charts/issues/22) - [ ] PieChart/PieChartPro font 不生效,svg 问题。[issue#23](https://github.com/react-native-oh-library/react-native-gifted-charts/issues/23) - +- [ ] The sectionColors attribute is supported in Community version 1.4.21, but is not supported in the current HarmonyOS release +- ## Others - BarChart/LineChart rulesConfigArray 属性设置第一条不生效,效果与 iOS/Android 一致。[issue#892](https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/issues/893) diff --git a/zh-cn/react-native-gifted-charts.md b/zh-cn/react-native-gifted-charts.md index 4e5c9147..ac0a3e34 100644 --- a/zh-cn/react-native-gifted-charts.md +++ b/zh-cn/react-native-gifted-charts.md @@ -119,7 +119,7 @@ export default function () { | negativeStepHeight | Height of 1 step/section in the Y axis for negative values (in the 4th quadrant) | number | no | all | yes | spacing | Distance between 2 consecutive bars in the Bar chart | number | no | all | yes | backgroundColor | Background color of the Bar chart | ColorValue | no | all | yes -| sectionColors | Background color of the horizontal sections of the chart | Array | no | all | yes +| sectionColors | Background color of the horizontal sections of the chart | Array | no | all | no | scrollref | ref object that can be used to control the horizontal ScrollView inside which the chart is rendered | any | no | all | yes | scrollToIndex | scroll to a particular index on chart load | number | no | all | yes | disableScroll | To disable horizontal scroll | boolean | no | all | yes @@ -443,7 +443,7 @@ export default function () { | spacing | Distance between 2 consecutive bars in the Bar chart | number | no | all | yes | adjustToWidth | When set to true, it auto computes the spacing value to fit the Line chart in the available width | boolean | no | all | yes | backgroundColor | Background color of the Bar chart | ColorValue | no | all | yes -| sectionColors | Background color of the horizontal sections of the chart | Array | no | all | yes +| sectionColors | Background color of the horizontal sections of the chart | Array | no | all | no | scrollref | ref object that can be used to control the horizontal ScrollView inside which the chart is rendered | any | no | all | yes | scrollToIndex | scroll to a particular index on chart load | number | no | all | yes | disableScroll | To disable horizontal scroll | boolean | no | all | yes @@ -1021,6 +1021,7 @@ export default function () { - [ ] PopulationPyramid yAxisLabelFontFamily 不生效,svg 问题。[issue#21](https://github.com/react-native-oh-library/react-native-gifted-charts/issues/21) - [ ] PopulationPyramid midAxisLabelFontFamily 不生效,svg 问题。[issue#22](https://github.com/react-native-oh-library/react-native-gifted-charts/issues/22) - [ ] PieChart/PieChartPro font 不生效,svg 问题。[issue#23](https://github.com/react-native-oh-library/react-native-gifted-charts/issues/23) +- [ ] sectionColors属性在社区1.4.21版本支持,当前鸿蒙化版本不支持该属性 ## 其他 -- Gitee