Skip to content

Commit 435248c

Browse files
tenglonghhhongtenglong
andauthored
fix:删除ChartBackgroundColor属性 (#27)
Signed-off-by: hongtenglong <hongtenglong1@h-partners.com> Co-authored-by: hongtenglong <hongtenglong1@h-partners.com>
1 parent f9c52e6 commit 435248c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

harmony/charts-wrapper/src/main/ets/BarLineBaseChart.ets

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ export const setBarLineChart = <T extends model, U extends RNChart>(descriptorWr
7171
if (props.gridBackgroundColor != undefined) {
7272
model.setGridBackgroundColor(props.gridBackgroundColor)
7373
}
74-
//设置图表背景 chartBackgroundColor
75-
if(props.chartBackgroundColor!=undefined){
76-
model.setGridBackgroundColor(props.chartBackgroundColor)
77-
}
74+
7875
//是否设置边框 drawBorders
7976
if (props.drawBorders != undefined) {
8077
model.setDrawBorders(props.drawBorders);

0 commit comments

Comments
 (0)