Home

Awesome

react-native-peity

Port for peity

Install from npm

react-native-peity

Basic usage

import { Line } from 'react-native-peity'

<>
  <Line data={[1, 5, 4, 2, 2]} />
  <Pie data={6} min={0} max={10} />
  <Bar data={[1, 5, 4, 2, 2]} />
  <Pie data={6} min={0} max={10} innerRadius={3} /> {/* donut */}
</>
<img src="screencast-Genymotion-2019-10-09_12.37.21.283.gif" alt="ViewPager" width="300" height="500">

Docs

More detailed usage can be found at benpickles.github.io/peity.