Socket
Socket
Sign inDemoInstall

@acodez/areachart

Package Overview
Dependencies
5
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @acodez/areachart

![npm_version](https://img.shields.io/npm/v/@acodez/areachart) ![license](https://img.shields.io/npm/l/@acodez/areachart)


Version published
Maintainers
5
Created

Readme

Source

@acodez/areachart

npm_version license

React button component with plenty of customization.


  • Installation
  • PropsAPI
  • Usage

Installation

npm install @acodez/areachart

Props API

PropertyTypeRequiredDefault valueDescription
colorstringno#007BFFcolor of graph
xaxisdataarrayyes``x axis data
yaxisdataarrayyes``y axis data
smoothlinebooleanno``stroke smoothline option
xyaxisdatahiddenbooleanno``x and y axis labels hidden
heightstringno250height of graph
showgridbooleannofalseheight 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]}
/>

FAQs

Last updated on 24 Mar 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc