1.0.3 • Published 2 years ago
react-native-radarchart v1.0.3
React-Native-Radarchart
Parameter | Type | Description |
---|---|---|
dataList | obj | Required. Your data shown on the radar chart.The key is the label and the value is the numerical result data. |
backGroundColor | string | default "#91d9d4". The background color of the radar chart. |
radarSize | number | default "1.2". The size of the whole chart. |
resultColor | string | default "purple". The color of the result radar. |
Example Usage
import RadarChart from 'react-native-radarchart';
function App() {
return (
<SafeAreaView>
<RadarChart dataList={{能力: 1, 腦力: 3, 團隊: 4, 技能: 4.5, 積極: 3}} backGroundColor="#91d9d4" radarSize={1.1} resultColor='purple'/>
</SafeAreaView>
);
}