-
Notifications
You must be signed in to change notification settings - Fork 81
/
RadarChart.js
40 lines (35 loc) · 1.06 KB
/
RadarChart.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
40
import React, {Component} from 'react';
import PropTypes from 'prop-types';
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;