forked from hongyin163/react-native-chart-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RadarChart.android.js
39 lines (34 loc) · 1.04 KB
/
RadarChart.android.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import React, {Component, PropTypes} from 'react';
import {requireNativeComponent, View} from 'react-native';
class RadarChart extends Component {
constructor(props) {
super(props);
}
render() {
return (
<MPRadarChart {...this.props}/>
);
}
}
RadarChart.propTypes = {
...View.propTypes,
data:PropTypes.object,
webLineWidth:PropTypes.number,
webLineWidthInner:PropTypes.number,
webAlpha:PropTypes.number,
webColor:PropTypes.number,
webColorInner:PropTypes.number,
drawWeb:PropTypes.bool,
dragEnabled:PropTypes.bool,
legend:PropTypes.object,
touchEnabled:PropTypes.bool,
dragDecelerationEnabled:PropTypes.bool,
dragDecelerationFrictionCoef:PropTypes.number,
description:PropTypes.string,
chartPadding:PropTypes.string,
highlightPerDragEnabled:PropTypes.bool,
highlightPerTapEnabled:PropTypes.bool,
skipWebLineCount:PropTypes.number,
}
var MPRadarChart = requireNativeComponent('MPRadarChart', RadarChart);
export default RadarChart;