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

reacharts

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reacharts

基于Echarts封装常用的图表的react组件

latest
npmnpm
Version
0.4.5
Version published
Maintainers
1
Created
Source

传入的type 为 图表类型, 一般为:'line','bar' :string ;

x为x轴上的数据。数组类型 :array;

y为y轴上的数据。数组类型 :array;

series 为图表上的数据,数组格式,默认格式为[{data:[]}],:array;

title 为图表的标题,显示在图表的上方:string;

config 为图表的其他可配置项,:object;

更多的api请参考echarts的api;

Keywords

react

FAQs

Package last updated on 18 Oct 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