New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

rechartjs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rechartjs

React component for Chart.js

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
51
-25%
Maintainers
1
Weekly downloads
 
Created
Source

Rechartjs

React + Chart.js = Rechartjs

React component for Chart.js

安装方法 Installation

npm install rechartjs chart.js --save

预览 Demo

chartjs

本机运行

npm run dev

使用方法 Usage

  • data(必需)
  • options(可选)
import { Bar, Line } from 'rechartjs'

<Bar data={barData} options={barOptions} />

<Line data={lineData}  options={lineOptions} />

Properties

  • data: PropTypes.object.isRequired
  • width: PropTypes.number
  • height: PropTypes.number
  • options: PropTypes.object

图表类型 Chart type

  • line
  • bar
  • radar
  • doughnut
  • pie
  • polarArea
  • bubble
  • scatter
  • horizontalBar

License

MIT License

Keywords

react

FAQs

Package last updated on 05 Jul 2018

Did you know?

Socket

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