@webileapps/react-native-piechart
React Native Interactive Pie Chart.
Last updated a year ago by rajivnarayana .
ISC · Original npm · Tarball · package.json
$ cnpm install @webileapps/react-native-piechart 
SYNC missed versions from official npm registry.

React Native Interactive Pie Chart.

Installation

npm install @webileapps/react-native-piechart

Usage

const COLORS = ["#acb5e8", "#c3c5c0", "#afe5d2", "#f9e3b4", "#a3dbec", "#ff8c8b"];
export default class App extends React.Component {
  render() {
    return (
      <View style={styles.container}>
        <Text>Open up App.js to start working on your app!</Text>
        <HomeLogo colors={COLORS}>
          <View style={{width : 50, height: 50, backgroundColor: "red"}}></View>
          <View style={{width : 50, height: 50, backgroundColor: "green"}}></View>
          <View style={{width : 50, height: 50, backgroundColor: "cyan"}}></View>
          <View style={{width : 50, height: 50, backgroundColor: "pink"}}></View>
          <View style={{width : 50, height: 50, backgroundColor: "yellow"}}></View>
          <View style={{width : 50, height: 50, backgroundColor: "blue"}}></View>
        </HomeLogo>
      </View>
    );
  }
}

Run Demo

There is a example project that is build to showcase how the plugin works.

cd src
npm run plugin.prepare
npm run expo

Screenshot

Current Tags

  • 0.4.0                                ...           latest (a year ago)

4 Versions

  • 0.4.0                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 6
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |