dchart-bar-stack-hori

0.1.17 • Public • Published

dchart-bar-stack-hori

符合dchart规范的水平堆积图

安装

npm install dchart-bar-stack-hori

用法

var Bar = require('dchart-bar-stack-hori');
var bar = new Bar(container, {
  xaxis : {
    label : function (obj, data) {return ...}
  },
  yaxis : {}
});
bar.render([
    {x: '电子', y : 22},
    {x: '服装', y : 21},
    {x: '数码', y : 17},
    {x: '医药', y : 12},
    {x: '家装', y : 15}
]);

Readme

Keywords

none

Package Sidebar

Install

npm i dchart-bar-stack-hori

Weekly Downloads

46

Version

0.1.17

License

ISC

Unpacked Size

3.37 kB

Total Files

3

Last publish

Collaborators

  • elvira
  • grace.hw