@logo-rn/logo-pie-chart
v0.2.1
Published
<LogoPieChart/> is a type of graph that represents the data in the circular graph
Downloads
4
Readme
@logo-rn/logo-pie-chart
is a type of graph that represents the data in the circular graph
Installation
Install the component:
npm i @logo-rn/logo-pie-chart -s
Usage
Once installed, import the component in your application:
import {LogoPieChart} from '@logo-rn/logo-pie-chart';
const dataAccess: PieDataAccessProps = {
source: "a",
circumference: 360,
offset: 0,
radiusPerc: 350,
weight: 70,
rotation: 0,
dataSet: [
{
x: "Ben",
y: 5,
},
{
x: "Firma",
y: 3,
}
]
};
<LogoPieChart
dataAccess={dataAccess}
/>