option = { title : { text: \'全省各市区消费情况分布\', x:\'center\' }, tooltip : { trigger: \'item\' }, dataRange: { min: 0, max: 2500, x: \'left\', y: \'bottom\', text:[\'高\',\'低\'], // 文本,默认为数值文本 calculable : true }, toolbox: { show: true, orient : \'vertical\', x: \'right\', y: \'center\' }, series : [ { name: \'iphone3\', type: \'map\', mapType: \'浙江\', roam: false, itemStyle:{ normal:{label:{show:true}}, emphasis:{label:{show:true}} }, data:[ {name: \'湖州市\',value: Math.round(Math.random()*1000)}, {name: \'绍兴市\',value: Math.round(Math.random()*1000)}, {name: \'丽水市\',value: Math.round(Math.random()*1000)}, {name: \'金华市\',value: Math.round(Math.random()*1000)}, {name: \'宁波市\',value: Math.round(Math.random()*1000)}, {name: \'台州市\',value: Math.round(Math.random()*1000)}, {name: \'舟山市\',value: Math.round(Math.random()*1000)}, {name: \'温州市\',value: Math.round(Math.random()*1000)}, {name: \'杭州市\',value: Math.round(Math.random()*1000)}, {name: \'嘉兴市\',value: Math.round(Math.random()*1000)}, {name: \'衢州市\',value: Math.round(Math.random()*1000)} ] } ] };