差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
playground:playground [2021/05/14 16:29] ysbywyxfp |
playground:playground [2021/06/04 10:18] (当前版本) ysbywyxfp |
||
---|---|---|---|
行 1: | 行 1: | ||
====== PlayGround ====== | ====== PlayGround ====== | ||
- | <achart> | + | <achart> { |
- | { | + | <code> |
- | chart: { | + | chart: { |
- | width: 380, | + | width: 380, |
- | type: 'pie', | + | type: 'pie', |
- | toolbar: { show: true,tools: { download: true } }, | + | toolbar: { show: true,tools: { download: true } }, |
- | }, | + | }, |
- | labels: ['人员A', '人员B', '人员C', '人员D', '人员E'], | + | labels: ['人员A', '人员B', '人员C', '人员D', '人员E'], |
- | series: [44, 55, 13, 43, 22], | + | series: [44, 55, 13, 43, 22], |
- | responsive: [{ | + | responsive: [{ |
- | breakpoint: 480, | + | breakpoint: 480, |
- | options: { | + | options: { |
- | chart: { | + | chart: { |
- | width: 200 | + | width: 200 |
- | }, | + | }, |
- | legend: { | + | legend: { |
- | position: 'bottom' | + | position: 'bottom' |
- | } | + | } |
- | } | + | } |
- | }] | + | }] |
- | } | + | </code> |
- | </achart> | + | } </achart> |
- | |||
- | <html> | ||
- | <head> | ||
- | <meta charset="utf-8"> | ||
- | <!-- 引入 ECharts 文件 --> | ||
- | <script src="echarts.min.js"></script> | ||
- | </head> | ||
- | </html> |