Skip to content

Commit 54c3f55

Browse files
committed
ios 更新
1 parent e758c47 commit 54c3f55

File tree

6 files changed

+290
-205
lines changed

6 files changed

+290
-205
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ export default class ZKChartView extends Component {
2121
labelLayerColor:PropTypes.string, //可为空 默认0xf38b10
2222
maxValue:PropTypes.string, //y轴最大值
2323
minValue:PropTypes.string, //y轴最小值
24-
tagNum:PropTypes.number //y轴分布数
24+
tagNum:PropTypes.number, //y轴分布数
25+
lineWidth:PropTypes.float,//连线宽度
26+
upAlpha:PropTypes.float,//上层透明度
27+
downAlpha:PropTypes.float,//下层透明度
2528
};
2629
render() {
2730
return (

ios/RCTRNchart/Categories/LRSChartView.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,11 @@
3939
@property(nonatomic,strong) NSString *labelLayerColor;
4040
//y轴数量分布
4141
@property(nonatomic,assign) NSInteger tagNum;
42+
//连线宽度
43+
@property(nonatomic,assign) float lineWidth;
44+
//上层透明度
45+
@property(nonatomic,assign) float upAlpha;
46+
//下层透明度
47+
@property(nonatomic,assign) float downAlpha;
48+
4249
@end

0 commit comments

Comments
 (0)