@acodez/areachart

0.1.5 • Public • Published

@acodez/areachart

npm_version license

React button component with plenty of customization.



Installation

npm install @acodez/areachart

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
smoothline boolean no `` stroke smoothline option
xyaxisdatahidden boolean no `` x and y axis labels hidden
height string no 250 height of graph
showgrid boolean no false height of graph

Usage

import Areachart from "@acodez/areachart";

<Areachart 
    color="#007BFF"
    xaxisdata={[1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998]}
    yaxisdata={[30,40,35,50,49,60,70,91]}
/>

Readme

Keywords

none

Package Sidebar

Install

npm i @acodez/areachart

Weekly Downloads

7

Version

0.1.5

License

none

Unpacked Size

36.1 kB

Total Files

22

Last publish

Collaborators

  • nimishapk
  • hridyac
  • sanjuacodez
  • ssacodez
  • arunacodez
  • ikku47