zoukankan      html  css  js  c++  java
  • 浙江省地图

    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)}
                ]
            }
        ]
    };
                        
  • 相关阅读:
    phonegap helloworld 之android
    perl 信号
    css的浮动
    css的定位
    p4 环境变量的优先级
    oracle sql 高级
    perl数组高级
    让你提升命令行效率的 Bash 快捷键 [完整版]
    函数的返回值为结构体类型
    函数的返回值保存在内存的什么区域
  • 原文地址:https://www.cnblogs.com/sexintercourse/p/7339090.html
Copyright © 2011-2022 走看看