@acodez/barchart
v1.0.1
Published
Made by acodez team
Downloads
5
Keywords
Readme
@acodez/barchart
Installation
npm install @acodez/barchart
Props API
| Property | Type | Required | Default value | Description |
|-----|-----|-----|-----|:-----|
|color|string
|no|#007BFF
| color of graph|
|xaxisdata|array
|yes|| x axis data |
|**yaxisdata**|`array`|yes|
| y axis data |
Usage
import Barchart from "@acodez/barchart";
<Barchart color="rgba(111, 207, 151, 1)"
xaxisdata={[1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998]}
yaxisdata={[30,40,35,50,49,60,70,91]}/>