# echarts-multidimension-demo

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

Latest version **0.0.3** (published 2019-04-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install echarts-multidimension-demo
pnpm add echarts-multidimension-demo
yarn add echarts-multidimension-demo
bun add echarts-multidimension-demo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-04-10 |
| First published | 2019-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 55.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | thrilling_gem |
| Maintainers | thrilling_gem |
| Keywords | echarts, multi-dimension-data |

## Links

- npm: https://www.npmjs.com/package/echarts-multidimension-demo
- Repository: https://github.com/4096void/echarts-multidimension-demo
- Homepage: https://github.com/4096void/echarts-multidimension-demo#readme
- Issues: https://github.com/4096void/echarts-multidimension-demo/issues
- npm.io page: https://npm.io/package/echarts-multidimension-demo

## Dependencies (1)

- [echarts](https://npm.io/package/echarts.md) ^3.7.1

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2019-04-10
- 0.0.2 — 2019-04-10
- 0.0.1 — 2019-04-10

## README

## echarts-multidimension-demo
> NPM archive of https://blog.csdn.net/mulumeng981/article/details/77848644 's sourcecode.

```javascript
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,
);
```

---
_Source: https://npm.io/package/echarts-multidimension-demo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
