Toggle navigation
广西食品经营许可——各主体获证情况(子类)
By
牧羊yun
2018-03-02 01:27:41
脚本
16
21
作品使用的第三方脚本
数据管理
上传数据
支持小于 5M 任意格式(csv, xlsx, json, xml, ...)的数据文件
上传后可以通过生成的文件链接异步获取托管的数据。
历史数据
0 条
无历史数据
代码修改记录
信息提示
保存作品
对当前截图不满意?你还可以
上传本地截图
重新截图
作品名称
作品描述
标签
geo
grid
legend
markLine
markPoint
bar
effectScatter
line
lines
map
timeline
title
toolbox
tooltip
visualMap
作品默认版本
最新
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
20:11:45
图表已生成
整理代码
刷新
代码
options = [{ title : { text: '食品销售经营者', x:'center' }, tooltip: { trigger: 'item', formatter: "{a}
{b}: {c} ({d}%)" }, legend: { orient: 'vertical', x: 'right', data:['互联网经营','其他'] }, series: [ { name:'', type:'pie', radius: ['34%', '42%'], itemStyle: { normal: { color: function(params) { // build a color map as your need. var colorList = [ '#ed400b','#999' ]; return colorList[params.dataIndex] }, shadowBlur: 20, shadowColor: 'rgba(0, 0, 0, 0.5)' } }, label: { normal: { formatter: '{b|{b}:}{c}{per|{d}%} ', backgroundColor: '#eee', rich: { a: { color: '#999', lineHeight: 22, align: 'center' }, b: { fontSize: 12, lineHeight: 33 }, per: { color: '#eee', backgroundColor: '#334455', padding: [2, 4], borderRadius: 2 } } } }, data:[ {value:300, name:'互联网经营'}, {value:35, name:'其他'} ] } ] }, { title : { text: '餐饮服务经营者', x:'center' }, tooltip: { trigger: 'item', formatter: "{a}
{b}: {c} ({d}%)" }, legend: { orient: 'vertical', x: 'right', data:['内设中央厨房','集体用餐配送单位','其他','互联网经营'] }, series: [ { name:'', type:'pie', radius: ['34%', '42%'], itemStyle: { normal: { color: function(params) { // build a color map as your need. var colorList = [ '#ed400b','#c3b32c','#3d860d', '#16afd3','#55a4ee','#d063f9' ]; return colorList[params.dataIndex] }, shadowBlur: 20, shadowColor: 'rgba(0, 0, 0, 0.5)' } }, label: { normal: { formatter: '{b|{b}:}{c}{per|{d}%} ', backgroundColor: '#eee', rich: { a: { color: '#999', lineHeight: 22, align: 'center' }, b: { fontSize: 12, lineHeight: 33 }, per: { color: '#eee', backgroundColor: '#334455', padding: [2, 4], borderRadius: 2 } } } }, data:[ {value:300, name:'内设中央厨房'}, {value:100, name:'集体用餐配送单位'}, {value:170, name:'其他'}, {value:109, name:'互联网经营'}, ] } ] }, { title : { text: '单位食堂', x:'center' }, tooltip: { trigger: 'item', formatter: "{a}
{b}: {c} ({d}%)" }, legend: { orient: 'vertical', x: 'right', data:['学校食堂','其他'] }, series: [ { name:'', type:'pie', radius: ['34%', '42%'], itemStyle: { normal: { color: function(params) { // build a color map as your need. var colorList = [ '#ed400b','#999' ]; return colorList[params.dataIndex] }, shadowBlur: 20, shadowColor: 'rgba(0, 0, 0, 0.5)' } }, label: { normal: { formatter: '{b|{b}:}{c}{per|{d}%} ', backgroundColor: '#eee', rich: { a: { color: '#999', lineHeight: 22, align: 'center' }, b: { fontSize: 12, lineHeight: 33 }, per: { color: '#eee', backgroundColor: '#334455', padding: [2, 4], borderRadius: 2 } } } }, data:[ {value:132, name:'学校食堂'}, {value:102, name:'其他'} ] } ] }];