0.4.5 • Published 6 years ago

reacharts v0.4.5

Weekly downloads
22
License
MIT
Repository
-
Last release
6 years ago

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

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

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

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

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

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

更多的api请参考echarts的api;