npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

echarts-multidimension-demo

v0.0.3

Published

an archieve of https://download.csdn.net/download/mulumeng981/9985030's sourcecode

Readme

echarts-multidimension-demo

NPM archive of https://blog.csdn.net/mulumeng981/article/details/77848644 's sourcecode.

const MulDimensionChart = require('echarts-multidimension-demo');

// data sample
let data = [
  [
    "企业",
    "余姚站",
    "2013-05",
    0.015,
    800
  ],
  [
    "企业",
    "奉化站",
    "2013-07",
    0.0033,
    6500
  ],
  [
    "企业",
    "宁红站",
    "2013-09",
    0.02,
    200
  ],
  [
    "企业",
    "彩虹站",
    "2013-11",
    0.015,
    134
  ],
  [
    "企业",
    "慈城站",
    "2013-01",
    0.015,
    300
  ],
  [
    "企业",
    "春晓站",
    "2013-03",
    0.011,
    903
  ],
  [
    "普通客户",
    "余姚站",
    "2013-03",
    0.017,
    134
  ],
  [
    "普通客户",
    "奉化站",
    "2013-05",
    0.013,
    1250
  ],
  [
    "普通客户",
    "宁红站",
    "2013-07",
    0.017,
    903
  ],
  [
    "普通客户",
    "仓基站",
    "2013-01",
    0.019,
    903
  ]
];
var dimension = [{
    "key": "cust_type",
    "tagkey": "cust_type",
    "alias": "cust_type",
    "continuity": "00",
    "colType": "string"
  },
  {
    "key": "faxing_state",
    "tagkey": "faxing_state",
    "alias": "faxing_state",
    "continuity": "00",
    "colType": "string"
  },
  {
    "key": "Month",
    "tagkey": "Month",
    "alias": "Month",
    "originTag": "full_date",
    "timeFormat": "yyyy-mm",
    "continuity": "10",
    "colType": "date"
  }
];
var measure = [{
    "key": "huan_bi",
    "tagkey": "huan_bi",
    "alias": "总和_huan_bi",
    "prop": "sum",
    "continuity": "11",
    "colType": "float",
    "state": "bar"
  },
  {
    "key": "faxing_sum",
    "tagkey": "faxing_sum",
    "alias": "总和_faxing_sum",
    "prop": "sum",
    "continuity": "11",
    "colType": "float",
    "state": "bar"
  }
];

let chart = new MulDimensionChart(
  document.getElementByid('container'),
  data,
  dimension,
  measure,
);