差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
playground:playground [2021/05/14 16:12] ysbywyxfp |
playground:playground [2021/06/04 10:18] (当前版本) ysbywyxfp |
||
---|---|---|---|
行 1: | 行 1: | ||
====== PlayGround ====== | ====== PlayGround ====== | ||
- | <achart> | + | <achart> { |
- | { | + | <code> |
- | chart: { | + | |
- | width: 380, | + | |
- | type: 'pie', | + | |
- | toolbar: { show: true,tools: { download: true } }, | + | |
- | }, | + | |
- | labels: ['人员A', '人员B', '人员C', '人员D', '人员E'], | + | |
- | series: [44, 55, 13, 43, 22], | + | |
- | responsive: [{ | + | |
- | breakpoint: 480, | + | |
- | options: { | + | |
- | chart: { | + | |
- | width: 200 | + | |
- | }, | + | |
- | legend: { | + | |
- | position: 'bottom' | + | |
- | } | + | |
- | } | + | |
- | }] | + | |
- | } | + | |
- | </achart> | + | |
- | + | ||
- | + | ||
- | <achart url=https://gist.github.com/karl257/6e799cc0d8a5e47ac11d97672a6890dc/raw/0a80ea7ff3b89d0f376aec0eff0d817550b32334/convertcsv.csv height=320px align=center> | + | |
- | { | + | |
chart: { | chart: { | ||
- | height: 350, | + | width: 380, |
- | type: 'bar', | + | type: 'pie', |
+ | toolbar: { show: true,tools: { download: true } }, | ||
}, | }, | ||
- | dataLabels: { | + | labels: ['人员A', '人员B', '人员C', '人员D', '人员E'], |
- | enabled: false | + | series: [44, 55, 13, 43, 22], |
- | }, | + | responsive: [{ |
- | title: { | + | breakpoint: 480, |
- | text: "From web", | + | options: { |
- | } | + | chart: { |
- | } | + | width: 200 |
- | </achart> | + | }, |
+ | legend: { | ||
+ | position: 'bottom' | ||
+ | } | ||
+ | } | ||
+ | }] | ||
+ | </code> | ||
+ | } </achart> | ||
- | |||
- | <achart url=:wiki:convertcsv.csv height=320px align=center> | ||
- | { | ||
- | chart: { | ||
- | height: 350, | ||
- | type: 'bar', | ||
- | }, | ||
- | dataLabels: { | ||
- | enabled: false | ||
- | }, | ||
- | title: { | ||
- | text: "Ajax Example", | ||
- | } | ||
- | } | ||
- | </achart> |