React条形图信封用于简单条形图信封的React组件。演示安装命令为:npm install react-barchart-envelope --save
。用法示例:
var React = require('react');
var BarchartEnvelope = require('react-barchart-envelope');
var Graph = React.createClass({
render: function() {
var data = [15, 12, 25, 8, 20, 14, 15, 3, 9, 23, 12, 10, 26, 17, 25, 4, 29, 23, 12, 10, 2];
// 渲染逻辑
}
});
暂无评论