yeshijie 7 anni fa
parent
commit
ba29c9f70c
33 ha cambiato i file con 5806 aggiunte e 0 eliminazioni
  1. 224 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/blue.js
  2. 337 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/dark.js
  3. 10 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/default.js
  4. 224 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/gray.js
  5. 224 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/green.js
  6. 307 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/helianthus.js
  7. 297 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/infographic.js
  8. 257 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/macarons.js
  9. 257 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/macarons2.js
  10. 175 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/mint.js
  11. 224 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/red.js
  12. 164 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/roma.js
  13. 173 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/sakura.js
  14. 203 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/shine.js
  15. 216 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/index.html
  16. 85 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/data-a-china.js
  17. 84 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/data-china.js
  18. 18 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/data-formatter.js
  19. 249 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/djws.js
  20. 169 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/option0.js
  21. 180 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/option1.js
  22. 43 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/option2.js
  23. 82 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/option3.js
  24. 255 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/24-population-china/index.html
  25. 149 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/24-population-china/js/data-people.js
  26. 182 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/index.html
  27. 2 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/china_city_geo.js
  28. 138 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/data.js
  29. 294 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/main.js
  30. 68 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/option0.js
  31. 168 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/option1.js
  32. 135 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/option2.js
  33. 213 0
      patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/option3.js

+ 224 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/blue.js

@ -0,0 +1,224 @@
define(function() {
var theme = {
    // 默认色板
    color: [
        '#1790cf','#1bb2d8','#99d2dd','#88b0bb',
        '#1c7099','#038cc4','#75abd0','#afd6dd'
    ],
    // 图表标题
    title: {
        textStyle: {
            fontWeight: 'normal',
            color: '#1790cf'
        }
    },
    
    // 值域
    dataRange: {
        color:['#1178ad','#72bbd0']
    },
    // 工具箱
    toolbox: {
        color : ['#1790cf','#1790cf','#1790cf','#1790cf']
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(0,0,0,0.5)',
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'line',         // 默认为直线,可选为:'line' | 'shadow'
            lineStyle : {          // 直线指示器样式设置
                color: '#1790cf',
                type: 'dashed'
            },
            crossStyle: {
                color: '#1790cf'
            },
            shadowStyle : {                     // 阴影指示器样式设置
                color: 'rgba(200,200,200,0.3)'
            }
        }
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: '#eee',            // 数据背景颜色
        fillerColor: 'rgba(144,197,237,0.2)',   // 填充颜色
        handleColor: '#1790cf'     // 手柄颜色
    },
    
    // 网格
    grid: {
        borderWidth: 0
    },
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#1790cf'
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#1790cf'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.1)','rgba(200,200,200,0.1)']
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    timeline : {
        lineStyle : {
            color : '#1790cf'
        },
        controlStyle : {
            normal : { color : '#1790cf'},
            emphasis : { color : '#1790cf'}
        }
    },
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#1bb2d8',          // 阳线填充颜色
                color0: '#99d2dd',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#1c7099',   // 阳线边框颜色
                    color0: '#88b0bb'   // 阴线边框颜色
                }
            }
        }
    },
    
    map: {
        itemStyle: {
            normal: {
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#99d2dd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                linkStyle : {
                    color : '#1790cf'
                }
            }
        }
    },
    
    chord : {
        padding : 4,
        itemStyle : {
            normal : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            },
            emphasis : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            }
        }
    },
    
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#1bb2d8'],[0.8, '#1790cf'],[1, '#1c7099']], 
                width: 8
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :12,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 18,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    },
    
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

+ 337 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/dark.js

@ -0,0 +1,337 @@
define(function() {
var theme = {
    // 全图默认背景
    backgroundColor: '#1b1b1b',
    // 默认色板
    color: [
        '#FE8463','#9BCA63','#FAD860','#60C0DD','#0084C6',
        '#D7504B','#C6E579','#26C0C0','#F0805A','#F4E001',
        '#B5C334'
    ],
    // 图表标题
    title: {
        textStyle: {
            fontWeight: 'normal',
            color: '#fff'          // 主标题文字颜色
        }
    },
    // 图例
    legend: {
        textStyle: {
            color: '#ccc'          // 图例文字颜色
        }
    },
    // 值域
    dataRange: {
        itemWidth: 15,
        color: ['#FFF808','#21BCF9'],
        textStyle: {
            color: '#ccc'          // 值域文字颜色
        }
    },
    toolbox: {
        color : ['#fff', '#fff', '#fff', '#fff'],
        effectiveColor : '#FE8463',
        disableColor: '#666'
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(250,250,250,0.8)',     // 提示背景颜色,默认为透明度为0.7的黑色
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'line',         // 默认为直线,可选为:'line' | 'shadow'
            lineStyle : {          // 直线指示器样式设置
                color: '#aaa'
            },
            crossStyle: {
                color: '#aaa'
            },
            shadowStyle : {                     // 阴影指示器样式设置
                color: 'rgba(200,200,200,0.2)'
            }
        },
        textStyle: {
            color: '#333'
        }
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: '#555',            // 数据背景颜色
        fillerColor: 'rgba(200,200,200,0.2)',   // 填充颜色
        handleColor: '#eee'     // 手柄颜色
    },
    // 网格
    grid: {
        borderWidth: 0
    },
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            show: false
        },
        axisTick: {            // 坐标轴小标记
            show: false
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#ccc'
            }
        },
        splitLine: {           // 分隔线
            show: false
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            show: false
        },
        axisTick: {            // 坐标轴小标记
            show: false
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#ccc'
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#aaa'],
                type: 'dashed'
            }
        },
        splitArea: {           // 分隔区域
            show: false
        }
    },
    polar : {
        name : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#ccc'
            }
        },
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#ddd'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.2)','rgba(200,200,200,0.2)']
            }
        },
        splitLine : {
            lineStyle : {
                color : '#ddd'
            }
        }
    },
    timeline : {
        label: {
            textStyle:{
                color: '#ccc'
            }
        },
        lineStyle : {
            color : '#aaa'
        },
        controlStyle : {
            normal : { color : '#fff'},
            emphasis : { color : '#FE8463'}
        },
        symbolSize : 3
    },
    // 折线图默认参数
    line: {
        smooth : true
    },
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#FE8463',       // 阳线填充颜色
                color0: '#9BCA63',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#FE8463',   // 阳线边框颜色
                    color0: '#9BCA63'   // 阴线边框颜色
                }
            }
        }
    },
    // 雷达图默认参数
    radar : {
        symbol: 'emptyCircle',    // 图形类型
        symbolSize:3
        //symbol: null,         // 拐点图形类型
        //symbolRotate : null,  // 图形旋转控制
    },
    pie: {
        itemStyle: {
            normal: {
                borderWidth: 1,
                borderColor : 'rgba(255, 255, 255, 0.5)'
            },
            emphasis: {
                borderWidth: 1,
                borderColor : 'rgba(255, 255, 255, 1)'
            }
        }
    },
    map: {
        itemStyle: {
            normal: {
                borderColor:'rgba(255, 255, 255, 0.5)',
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        // color: '#ccc'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#FE8463'
                },
                label: {
                    textStyle: {
                        // color: 'ccc'
                    }
                }
            }
        }
    },
    force : {
        itemStyle: {
            normal: {
                linkStyle : {
                    color : '#fff'
                }
            }
        }
    },
    chord : {
        itemStyle : {
            normal : {
                borderWidth: 1,
                borderColor: 'rgba(228, 228, 228, 0.2)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(228, 228, 228, 0.2)'
                    }
                }
            },
            emphasis : {
                borderWidth: 1,
                borderColor: 'rgba(228, 228, 228, 0.9)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(228, 228, 228, 0.9)'
                    }
                }
            }
        }
    },
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#9BCA63'],[0.8, '#60C0DD'],[1, '#D7504B']],
                width: 3,
                shadowColor : '#fff', //默认透明
                shadowBlur: 10
            }
        },
        axisTick: {            // 坐标轴小标记
            length :15,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto',
                shadowColor : '#fff', //默认透明
                shadowBlur: 10
            }
        },
        axisLabel: {            // 坐标轴小标记
            textStyle: {       // 属性lineStyle控制线条样式
                fontWeight: 'bolder',
                color: '#fff',
                shadowColor : '#fff', //默认透明
                shadowBlur: 10
            }
        },
        splitLine: {           // 分隔线
            length :25,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                width:3,
                color: '#fff',
                shadowColor : '#fff', //默认透明
                shadowBlur: 10
            }
        },
        pointer: {           // 分隔线
            shadowColor : '#fff', //默认透明
            shadowBlur: 5
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                fontWeight: 'bolder',
                fontSize: 20,
                fontStyle: 'italic',
                color: '#fff',
                shadowColor : '#fff', //默认透明
                shadowBlur: 10
            }
        },
        detail : {
            shadowColor : '#fff', //默认透明
            shadowBlur: 5,
            offsetCenter: [0, '50%'],       // x, y,单位px
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                fontWeight: 'bolder',
                color: '#fff'
            }
        }
    },
    funnel : {
        itemStyle: {
            normal: {
                borderColor : 'rgba(255, 255, 255, 0.5)',
                borderWidth: 1
            },
            emphasis: {
                borderColor : 'rgba(255, 255, 255, 1)',
                borderWidth: 1
            }
        }
    },
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

+ 10 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/default.js

@ -0,0 +1,10 @@
/**
 * echarts默认主题,开发中
 *
 * @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
 * @author Kener (@Kener-林峰, kener.linfeng@gmail.com)
 *
 */
define(function() {
    return {};
});

+ 224 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/gray.js

@ -0,0 +1,224 @@
define(function() {
var theme = {
    // 默认色板
    color: [
        '#757575','#c7c7c7','#dadada',
        '#8b8b8b','#b5b5b5','#e9e9e9'
    ],
    // 图表标题
    title: {
        textStyle: {
            fontWeight: 'normal',
            color: '#757575'
        }
    },
    
    // 值域
    dataRange: {
        color:['#636363','#dcdcdc']
    },
    // 工具箱
    toolbox: {
        color : ['#757575','#757575','#757575','#757575']
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(0,0,0,0.5)',
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'line',         // 默认为直线,可选为:'line' | 'shadow'
            lineStyle : {          // 直线指示器样式设置
                color: '#757575',
                type: 'dashed'
            },
            crossStyle: {
                color: '#757575'
            },
            shadowStyle : {                     // 阴影指示器样式设置
                color: 'rgba(200,200,200,0.3)'
            }
        }
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: '#eee',            // 数据背景颜色
        fillerColor: 'rgba(117,117,117,0.2)',   // 填充颜色
        handleColor: '#757575'     // 手柄颜色
    },
    
    // 网格
    grid: {
        borderWidth: 0
    },
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#757575'
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#757575'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.1)','rgba(200,200,200,0.1)']
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    timeline : {
        lineStyle : {
            color : '#757575'
        },
        controlStyle : {
            normal : { color : '#757575'},
            emphasis : { color : '#757575'}
        }
    },
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#8b8b8b',          // 阳线填充颜色
                color0: '#dadada',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#757575',   // 阳线边框颜色
                    color0: '#c7c7c7'   // 阴线边框颜色
                }
            }
        }
    },
    
    map: {
        itemStyle: {
            normal: {
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#99d2dd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                linkStyle : {
                    color : '#757575'
                }
            }
        }
    },
    
    chord : {
        padding : 4,
        itemStyle : {
            normal : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            },
            emphasis : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            }
        }
    },
    
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#b5b5b5'],[0.8, '#757575'],[1, '#5c5c5c']], 
                width: 8
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :12,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 18,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    },
    
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

+ 224 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/green.js

@ -0,0 +1,224 @@
define(function() {
var theme = {
    // 默认色板
    color: [
        '#408829','#68a54a','#a9cba2','#86b379',
        '#397b29','#8abb6f','#759c6a','#bfd3b7'
    ],
    // 图表标题
    title: {
        textStyle: {
            fontWeight: 'normal',
            color: '#408829'
        }
    },
    
    // 值域
    dataRange: {
        color:['#1f610a','#97b58d']
    },
    // 工具箱
    toolbox: {
        color : ['#408829','#408829','#408829','#408829']
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(0,0,0,0.5)',
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'line',         // 默认为直线,可选为:'line' | 'shadow'
            lineStyle : {          // 直线指示器样式设置
                color: '#408829',
                type: 'dashed'
            },
            crossStyle: {
                color: '#408829'
            },
            shadowStyle : {                     // 阴影指示器样式设置
                color: 'rgba(200,200,200,0.3)'
            }
        }
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: '#eee',            // 数据背景颜色
        fillerColor: 'rgba(64,136,41,0.2)',   // 填充颜色
        handleColor: '#408829'     // 手柄颜色
    },
    
    // 网格
    grid: {
        borderWidth: 0
    },
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#408829'
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#408829'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.1)','rgba(200,200,200,0.1)']
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    timeline : {
        lineStyle : {
            color : '#408829'
        },
        controlStyle : {
            normal : { color : '#408829'},
            emphasis : { color : '#408829'}
        }
    },
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#68a54a',          // 阳线填充颜色
                color0: '#a9cba2',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#408829',   // 阳线边框颜色
                    color0: '#86b379'   // 阴线边框颜色
                }
            }
        }
    },
    
    map: {
        itemStyle: {
            normal: {
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#99d2dd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                linkStyle : {
                    color : '#408829'
                }
            }
        }
    },
    
    chord : {
        padding : 4,
        itemStyle : {
            normal : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            },
            emphasis : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            }
        }
    },
    
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#86b379'],[0.8, '#68a54a'],[1, '#408829']], 
                width: 8
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :12,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 18,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    },
    
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

+ 307 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/helianthus.js

@ -0,0 +1,307 @@
define(function() {
var theme = {
    backgroundColor: '#F2F2E6',
    // 默认色板
    color: [
        '#44B7D3','#E42B6D','#F4E24E','#FE9616','#8AED35',
        '#ff69b4','#ba55d3','#cd5c5c','#ffa500','#40e0d0',
        '#E95569','#ff6347','#7b68ee','#00fa9a','#ffd700',
        '#6699FF','#ff6666','#3cb371','#b8860b','#30e0e0'
    ],
    // 图表标题
    title: {
        backgroundColor: '#F2F2E6',
        itemGap: 10,               // 主副标题纵向间隔,单位px,默认为10,
        textStyle: {
            color: '#8A826D'          // 主标题文字颜色
        },
        subtextStyle: {
            color: '#E877A3'          // 副标题文字颜色
        }
    },
    // 值域
    dataRange: {
        x:'right',
        y:'center',
        itemWidth: 5,
        itemHeight:25,
        color:['#E42B6D','#F9AD96'],
        text:['高','低'],         // 文本,默认为数值文本
        textStyle: {
            color: '#8A826D'          // 值域文字颜色
        }
    },
    toolbox: {
        color : ['#E95569','#E95569','#E95569','#E95569'],
        effectiveColor : '#ff4500',
        itemGap: 8
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(138,130,109,0.7)',     // 提示背景颜色,默认为透明度为0.7的黑色
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'line',         // 默认为直线,可选为:'line' | 'shadow'
            lineStyle : {          // 直线指示器样式设置
                color: '#6B6455',
                type: 'dashed'
            },
            crossStyle: {          //十字准星指示器
                color: '#A6A299'
            },
            shadowStyle : {                     // 阴影指示器样式设置
                color: 'rgba(200,200,200,0.3)'
            }
        }
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: 'rgba(130,197,209,0.6)',            // 数据背景颜色
        fillerColor: 'rgba(233,84,105,0.1)',   // 填充颜色
        handleColor: 'rgba(107,99,84,0.8)'     // 手柄颜色
    },
    // 网格
    grid: {
        borderWidth:0
    },
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#6B6455'
            }
        },
        splitLine: {           // 分隔线
            show: false
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            show: false
        },
        splitArea : {
            show: false
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#FFF'],
                type: 'dashed'
            }
        }
    },
    polar : {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#ddd'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.2)','rgba(200,200,200,0.2)']
            }
        },
        splitLine : {
            lineStyle : {
                color : '#ddd'
            }
        }
    },
    timeline : {
        lineStyle : {
            color : '#6B6455'
        },
        controlStyle : {
            normal : { color : '#6B6455'},
            emphasis : { color : '#6B6455'}
        },
        symbol : 'emptyCircle',
        symbolSize : 3
    },
    // 柱形图默认参数
    bar: {
        itemStyle: {
            normal: {
                barBorderRadius: 0
            },
            emphasis: {
                barBorderRadius: 0
            }
        }
    },
    // 折线图默认参数
    line: {
        smooth : true,
        symbol: 'emptyCircle',  // 拐点图形类型
        symbolSize: 3           // 拐点图形大小
    },
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#E42B6D',       // 阳线填充颜色
                color0: '#44B7D3',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#E42B6D',   // 阳线边框颜色
                    color0: '#44B7D3'   // 阴线边框颜色
                }
            }
        }
    },
    // 散点图默认参数
    scatter: {
        itemStyle: {
            normal: {
                borderWidth:1,
                borderColor:'rgba(200,200,200,0.5)'
            },
            emphasis: {
                borderWidth:0
            }
        },
        symbol: 'circle',    // 图形类型
        symbolSize: 4        // 图形大小,半宽(半径)参数,当图形为方向或菱形则总宽度为symbolSize * 2
    },
    // 雷达图默认参数
    radar : {
        symbol: 'emptyCircle',    // 图形类型
        symbolSize:3
        //symbol: null,         // 拐点图形类型
        //symbolRotate : null,  // 图形旋转控制
    },
    map: {
        itemStyle: {
            normal: {
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        color: '#E42B6D'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#fe994e'
                },
                label: {
                    textStyle: {
                        color: 'rgb(100,0,0)'
                    }
                }
            }
        }
    },
    force : {
        itemStyle: {
            normal: {
                nodeStyle : {
                    borderColor : 'rgba(0,0,0,0)'
                },
                linkStyle : {
                    color : '#6B6455'
                }
            }
        }
    },
    chord : {
        itemStyle : {
            normal : {
                chordStyle : {
                    lineStyle : {
                        width : 0,
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            },
            emphasis : {
                chordStyle : {
                    lineStyle : {
                        width : 1,
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            }
        }
    },
    gauge : {                  // 仪表盘
        center:['50%','80%'],
        radius:'100%',
        startAngle: 180,
        endAngle : 0,
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#44B7D3'],[0.8, '#6B6455'],[1, '#E42B6D']],
                width: '40%'
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 2,   // 每份split细分多少段
            length: 5,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#fff'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#fff',
                fontWeight:'bolder'
            }
        },
        splitLine: {           // 分隔线
            length: '5%',         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: '#fff'
            }
        },
        pointer : {
            width : '40%',
            length: '80%',
            color: '#fff'
        },
        title : {
          offsetCenter: [0, -20],       // x, y,单位px
          textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
            color: 'auto',
            fontSize: 20
          }
        },
        detail : {
            offsetCenter: [0, 0],       // x, y,单位px
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto',
                fontSize: 40
            }
        }
    },
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

+ 297 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/infographic.js

@ -0,0 +1,297 @@
define(function() {
var theme = {
    // 默认色板
    color: [
        '#C1232B','#B5C334','#FCCE10','#E87C25','#27727B',
        '#FE8463','#9BCA63','#FAD860','#F3A43B','#60C0DD',
        '#D7504B','#C6E579','#F4E001','#F0805A','#26C0C0'
    ],
    // 图表标题
    title: {
        textStyle: {
            fontWeight: 'normal',
            color: '#27727B'          // 主标题文字颜色
        }
    },
    // 值域
    dataRange: {
        x:'right',
        y:'center',
        itemWidth: 5,
        itemHeight:25,
        color:['#C1232B','#FCCE10']
    },
    toolbox: {
        color : [
            '#C1232B','#B5C334','#FCCE10','#E87C25','#27727B',
            '#FE8463','#9BCA63','#FAD860','#F3A43B','#60C0DD'
        ],
        effectiveColor : '#ff4500'
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(50,50,50,0.5)',     // 提示背景颜色,默认为透明度为0.7的黑色
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'line',         // 默认为直线,可选为:'line' | 'shadow'
            lineStyle : {          // 直线指示器样式设置
                color: '#27727B',
                type: 'dashed'
            },
            crossStyle: {
                color: '#27727B'
            },
            shadowStyle : {                     // 阴影指示器样式设置
                color: 'rgba(200,200,200,0.3)'
            }
        }
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: 'rgba(181,195,52,0.3)',            // 数据背景颜色
        fillerColor: 'rgba(181,195,52,0.2)',   // 填充颜色
        handleColor: '#27727B'    // 手柄颜色
    },
    // 网格
    grid: {
        borderWidth:0
    },
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#27727B'
            }
        },
        splitLine: {           // 分隔线
            show: false
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            show: false
        },
        splitArea : {
            show: false
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#ccc'],
                type: 'dashed'
            }
        }
    },
    polar : {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#ddd'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.2)','rgba(200,200,200,0.2)']
            }
        },
        splitLine : {
            lineStyle : {
                color : '#ddd'
            }
        }
    },
    timeline : {
        lineStyle : {
            color : '#27727B'
        },
        controlStyle : {
            normal : { color : '#27727B'},
            emphasis : { color : '#27727B'}
        },
        symbol : 'emptyCircle',
        symbolSize : 3
    },
    // 折线图默认参数
    line: {
        itemStyle: {
            normal: {
                borderWidth:2,
                borderColor:'#fff',
                lineStyle: {
                    width: 3
                }
            },
            emphasis: {
                borderWidth:0
            }
        },
        symbol: 'circle',  // 拐点图形类型
        symbolSize: 3.5           // 拐点图形大小
    },
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#C1232B',       // 阳线填充颜色
                color0: '#B5C334',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#C1232B',   // 阳线边框颜色
                    color0: '#B5C334'   // 阴线边框颜色
                }
            }
        }
    },
    // 散点图默认参数
    scatter: {
        itemStyle: {
            normal: {
                borderWidth:1,
                borderColor:'rgba(200,200,200,0.5)'
            },
            emphasis: {
                borderWidth:0
            }
        },
        symbol: 'star4',    // 图形类型
        symbolSize: 4        // 图形大小,半宽(半径)参数,当图形为方向或菱形则总宽度为symbolSize * 2
    },
    // 雷达图默认参数
    radar : {
        symbol: 'emptyCircle',    // 图形类型
        symbolSize:3
        //symbol: null,         // 拐点图形类型
        //symbolRotate : null,  // 图形旋转控制
    },
    map: {
        itemStyle: {
            normal: {
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        color: '#C1232B'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#fe994e'
                },
                label: {
                    textStyle: {
                        color: 'rgb(100,0,0)'
                    }
                }
            }
        }
    },
    force : {
        itemStyle: {
            normal: {
                linkStyle : {
                    color : '#27727B'
                }
            }
        }
    },
    chord : {
        itemStyle : {
            normal : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            },
            emphasis : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            }
        }
    },
    gauge : {
        center:['50%','80%'],
        radius:'100%',
        startAngle: 180,
        endAngle : 0,
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#B5C334'],[0.8, '#27727B'],[1, '#C1232B']],
                width: '40%'
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 2,   // 每份split细分多少段
            length: 5,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#fff'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#fff',
                fontWeight:'bolder'
            }
        },
        splitLine: {           // 分隔线
            length: '5%',         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: '#fff'
            }
        },
        pointer : {
            width : '40%',
            length: '80%',
            color: '#fff'
        },
        title : {
          offsetCenter: [0, -20],       // x, y,单位px
          textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
            color: 'auto',
            fontSize: 20
          }
        },
        detail : {
            offsetCenter: [0, 0],       // x, y,单位px
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto',
                fontSize: 40
            }
        }
    },
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

+ 257 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/macarons.js

@ -0,0 +1,257 @@
define(function() {
var theme = {
    // 默认色板
    color: [
        '#2ec7c9','#b6a2de','#5ab1ef','#ffb980','#d87a80',
        '#8d98b3','#e5cf0d','#97b552','#95706d','#dc69aa',
        '#07a2a4','#9a7fd1','#588dd5','#f5994e','#c05050',
        '#59678c','#c9ab00','#7eb00a','#6f5553','#c14089'
    ],
    // 图表标题
    title: {
        textStyle: {
            fontWeight: 'normal',
            color: '#008acd'          // 主标题文字颜色
        }
    },
    
    // 值域
    dataRange: {
        itemWidth: 15,
        color: ['#5ab1ef','#e0ffff']
    },
    // 工具箱
    toolbox: {
        color : ['#1e90ff', '#1e90ff', '#1e90ff', '#1e90ff'],
        effectiveColor : '#ff4500'
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(50,50,50,0.5)',     // 提示背景颜色,默认为透明度为0.7的黑色
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'line',         // 默认为直线,可选为:'line' | 'shadow'
            lineStyle : {          // 直线指示器样式设置
                color: '#008acd'
            },
            crossStyle: {
                color: '#008acd'
            },
            shadowStyle : {                     // 阴影指示器样式设置
                color: 'rgba(200,200,200,0.2)'
            }
        }
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: '#efefff',            // 数据背景颜色
        fillerColor: 'rgba(182,162,222,0.2)',   // 填充颜色
        handleColor: '#008acd'    // 手柄颜色
    },
    // 网格
    grid: {
        borderColor: '#eee'
    },
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#008acd'
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#008acd'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.1)','rgba(200,200,200,0.1)']
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    polar : {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#ddd'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.2)','rgba(200,200,200,0.2)']
            }
        },
        splitLine : {
            lineStyle : {
                color : '#ddd'
            }
        }
    },
    timeline : {
        lineStyle : {
            color : '#008acd'
        },
        controlStyle : {
            normal : { color : '#008acd'},
            emphasis : { color : '#008acd'}
        },
        symbol : 'emptyCircle',
        symbolSize : 3
    },
    // 柱形图默认参数
    bar: {
        itemStyle: {
            normal: {
                barBorderRadius: 5
            },
            emphasis: {
                barBorderRadius: 5
            }
        }
    },
    // 折线图默认参数
    line: {
        smooth : true,
        symbol: 'emptyCircle',  // 拐点图形类型
        symbolSize: 3           // 拐点图形大小
    },
    
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#d87a80',       // 阳线填充颜色
                color0: '#2ec7c9',      // 阴线填充颜色
                lineStyle: {
                    color: '#d87a80',   // 阳线边框颜色
                    color0: '#2ec7c9'   // 阴线边框颜色
                }
            }
        }
    },
    
    // 散点图默认参数
    scatter: {
        symbol: 'circle',    // 图形类型
        symbolSize: 4        // 图形大小,半宽(半径)参数,当图形为方向或菱形则总宽度为symbolSize * 2
    },
    // 雷达图默认参数
    radar : {
        symbol: 'emptyCircle',    // 图形类型
        symbolSize:3
        //symbol: null,         // 拐点图形类型
        //symbolRotate : null,  // 图形旋转控制
    },
    map: {
        itemStyle: {
            normal: {
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        color: '#d87a80'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#fe994e'
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                linkStyle : {
                    color : '#1e90ff'
                }
            }
        }
    },
    chord : {
        itemStyle : {
            normal : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            },
            emphasis : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            }
        }
    },
    gauge : {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#2ec7c9'],[0.8, '#5ab1ef'],[1, '#d87a80']], 
                width: 10
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :15,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length :22,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            width : 5
        }
    },
    
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

+ 257 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/macarons2.js

@ -0,0 +1,257 @@
define({
    // 全图默认背景
    // backgroundColor: 'rgba(0,0,0,0)',
    
    // 默认色板
    color: ['#ed9678','#e7dac9','#cb8e85','#f3f39d','#c8e49c',
            '#f16d7a','#f3d999','#d3758f','#dcc392','#2e4783',
            '#82b6e9','#ff6347','#a092f1','#0a915d','#eaf889',
            '#6699FF','#ff6666','#3cb371','#d5b158','#38b6b6'],
    
    // 值域
    dataRange: {
        color:['#cb8e85','#e7dac9'],//颜色 
        //text:['高','低'],         // 文本,默认为数值文本
        textStyle: {
            color: '#333'          // 值域文字颜色
        }
    },
    // 柱形图默认参数
    bar: {
        barMinHeight: 0,          // 最小高度改为0
        // barWidth: null,        // 默认自适应
        barGap: '30%',            // 柱间距离,默认为柱形宽度的30%,可设固定值
        barCategoryGap : '20%',   // 类目间柱形距离,默认为类目间距的20%,可设固定值
        itemStyle: {
            normal: {
                // color: '各异',
                barBorderColor: '#fff',       // 柱条边线
                barBorderRadius: 0,           // 柱条边线圆角,单位px,默认为0
                barBorderWidth: 1,            // 柱条边线线宽,单位px,默认为1
                label: {
                    show: false
                    // position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
                    //           'inside'|'left'|'right'|'top'|'bottom'
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                }
            },
            emphasis: {
                // color: '各异',
                barBorderColor: 'rgba(0,0,0,0)',   // 柱条边线
                barBorderRadius: 0,                // 柱条边线圆角,单位px,默认为0
                barBorderWidth: 1,                 // 柱条边线线宽,单位px,默认为1
                label: {
                    show: false
                    // position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
                    //           'inside'|'left'|'right'|'top'|'bottom'
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                }
            }
        }
    },
    // 折线图默认参数
    line: {
        itemStyle: {
            normal: {
                // color: 各异,
                label: {
                    show: false
                    // position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
                    //           'inside'|'left'|'right'|'top'|'bottom'
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                lineStyle: {
                    width: 2,
                    type: 'solid',
                    shadowColor : 'rgba(0,0,0,0)', //默认透明
                    shadowBlur: 5,
                    shadowOffsetX: 3,
                    shadowOffsetY: 3
                }
            },
            emphasis: {
                // color: 各异,
                label: {
                    show: false
                    // position: 默认自适应,水平布局为'top',垂直布局为'right',可选为
                    //           'inside'|'left'|'right'|'top'|'bottom'
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                }
            }
        },
        //smooth : false,
        //symbol: null,         // 拐点图形类型
        symbolSize: 2,          // 拐点图形大小
        //symbolRotate : null,  // 拐点图形旋转控制
        showAllSymbol: false    // 标志图形默认只有主轴显示(随主轴标签间隔隐藏策略)
    },
    
    // K线图默认参数
    k: {
        // barWidth : null          // 默认自适应
        // barMaxWidth : null       // 默认自适应 
        itemStyle: {
            normal: {
                color: '#fe9778',          // 阳线填充颜色
                color0: '#e7dac9',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#f78766',   // 阳线边框颜色
                    color0: '#f1ccb8'   // 阴线边框颜色
                }
            },
            emphasis: {
                // color: 各异,
                // color0: 各异
            }
        }
    },
    // 饼图默认参数
    pie: {
        center : ['50%', '50%'],    // 默认全局居中
        radius : [0, '75%'],
        clockWise : false,          // 默认逆时针
        startAngle: 90,
        minAngle: 0,                // 最小角度改为0
        selectedOffset: 10,         // 选中是扇区偏移量
        itemStyle: {
            normal: {
                // color: 各异,
                borderColor: '#fff',
                borderWidth: 1,
                label: {
                    show: true,
                    position: 'outer',
                  textStyle: {color: '#1b1b1b'},
                  lineStyle: {color: '#1b1b1b'}
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                labelLine: {
                    show: true,
                    length: 20,
                    lineStyle: {
                        // color: 各异,
                        width: 1,
                        type: 'solid'
                    }
                }
            }
        }
    },
    
    map: {
        mapType: 'china',   // 各省的mapType暂时都用中文
        mapLocation: {
            x : 'center',
            y : 'center'
            // width    // 自适应
            // height   // 自适应
        },
        showLegendSymbol : true,       // 显示图例颜色标识(系列标识的小圆点),存在legend时生效
        itemStyle: {
            normal: {
                // color: 各异,
                borderColor: '#fff',
                borderWidth: 1,
                areaStyle: {
                    color: '#ccc'//rgba(135,206,250,0.8)
                },
                label: {
                    show: false,
                    textStyle: {
                        color: 'rgba(139,69,19,1)'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                // color: 各异,
                borderColor: 'rgba(0,0,0,0)',
                borderWidth: 1,
                areaStyle: {
                    color: '#f3f39d'
                },
                label: {
                    show: false,
                    textStyle: {
                        color: 'rgba(139,69,19,1)'
                    }
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                // color: 各异,
                label: {
                    show: false
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                nodeStyle : {
                    brushType : 'both',
                    strokeColor : '#a17e6e'
                },
                linkStyle : {
                    strokeColor : '#a17e6e'
                }
            },
            emphasis: {
                // color: 各异,
                label: {
                    show: false
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                nodeStyle : {},
                linkStyle : {}
            }
        }
    },
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#ed9678'],[0.8, '#e7dac9'],[1, '#cb8e85']], 
                width: 8
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :12,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 18,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    }
});
                

+ 175 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/mint.js

@ -0,0 +1,175 @@
define({
    // 全图默认背景
    // backgroundColor: 'rgba(0,0,0,0)',
    
    // 默认色板
    color: ['#8aedd5','#93bc9e','#cef1db','#7fe579','#a6d7c2',
            '#bef0bb','#99e2vb','#94f8a8','#7de5b8','#4dfb70'],
    
    
    // 值域
    dataRange: {
        color:['#93bc92','#bef0bb']
    },
    // K线图默认参数
    k: {
        // barWidth : null          // 默认自适应
        // barMaxWidth : null       // 默认自适应 
        itemStyle: {
            normal: {
                color: '#8aedd5',          // 阳线填充颜色
                color0: '#7fe579',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#8aedd5',   // 阳线边框颜色
                    color0: '#7fe579'   // 阴线边框颜色
                }
            },
            emphasis: {
                // color: 各异,
                // color0: 各异
            }
        }
    },
    
    // 饼图默认参数
    pie: {
        itemStyle: {
            normal: {
                // color: 各异,
                borderColor: '#fff',
                borderWidth: 1,
                label: {
                    show: true,
                    position: 'outer',
                  textStyle: {color: '#1b1b1b'},
                  lineStyle: {color: '#1b1b1b'}
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                labelLine: {
                    show: true,
                    length: 20,
                    lineStyle: {
                        // color: 各异,
                        width: 1,
                        type: 'solid'
                    }
                }
            }
        }
    },
    
    map: {
        mapType: 'china',   // 各省的mapType暂时都用中文
        mapLocation: {
            x : 'center',
            y : 'center'
            // width    // 自适应
            // height   // 自适应
        },
        showLegendSymbol : true,       // 显示图例颜色标识(系列标识的小圆点),存在legend时生效
        itemStyle: {
            normal: {
                // color: 各异,
                borderColor: '#fff',
                borderWidth: 1,
                areaStyle: {
                    color: '#ccc'//rgba(135,206,250,0.8)
                },
                label: {
                    show: false,
                    textStyle: {
                        color: 'rgba(139,69,19,1)'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                // color: 各异,
                borderColor: 'rgba(0,0,0,0)',
                borderWidth: 1,
                areaStyle: {
                    color: '#f3f39d'
                },
                label: {
                    show: false,
                    textStyle: {
                        color: 'rgba(139,69,19,1)'
                    }
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                // color: 各异,
                label: {
                    show: false
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                nodeStyle : {
                    brushType : 'both',
                    strokeColor : '#49b485'
                },
                linkStyle : {
                    strokeColor : '#49b485'
                }
            },
            emphasis: {
                // color: 各异,
                label: {
                    show: false
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                nodeStyle : {},
                linkStyle : {}
            }
        }
    },
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#93bc9e'],[0.8, '#8aedd5'],[1, '#a6d7c2']], 
                width: 8
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :12,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 18,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    }
});
                

+ 224 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/red.js

@ -0,0 +1,224 @@
define(function() {
var theme = {
    // 默认色板
    color: [
        '#d8361b','#f16b4c','#f7b4a9','#d26666',
        '#99311c','#c42703','#d07e75'
    ],
    // 图表标题
    title: {
        textStyle: {
            fontWeight: 'normal',
            color: '#d8361b'
        }
    },
    
    // 值域
    dataRange: {
        color:['#bd0707','#ffd2d2']
    },
    // 工具箱
    toolbox: {
        color : ['#d8361b','#d8361b','#d8361b','#d8361b']
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(0,0,0,0.5)',
        axisPointer : {            // 坐标轴指示器,坐标轴触发有效
            type : 'line',         // 默认为直线,可选为:'line' | 'shadow'
            lineStyle : {          // 直线指示器样式设置
                color: '#d8361b',
                type: 'dashed'
            },
            crossStyle: {
                color: '#d8361b'
            },
            shadowStyle : {                     // 阴影指示器样式设置
                color: 'rgba(200,200,200,0.3)'
            }
        }
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: '#eee',            // 数据背景颜色
        fillerColor: 'rgba(216,54,27,0.2)',   // 填充颜色
        handleColor: '#d8361b'     // 手柄颜色
    },
    
    // 网格
    grid: {
        borderWidth: 0
    },
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#d8361b'
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            lineStyle: {       // 属性lineStyle控制线条样式
                color: '#d8361b'
            }
        },
        splitArea : {
            show : true,
            areaStyle : {
                color: ['rgba(250,250,250,0.1)','rgba(200,200,200,0.1)']
            }
        },
        splitLine: {           // 分隔线
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: ['#eee']
            }
        }
    },
    timeline : {
        lineStyle : {
            color : '#d8361b'
        },
        controlStyle : {
            normal : { color : '#d8361b'},
            emphasis : { color : '#d8361b'}
        }
    },
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#f16b4c',          // 阳线填充颜色
                color0: '#f7b4a9',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#d8361b',   // 阳线边框颜色
                    color0: '#d26666'   // 阴线边框颜色
                }
            }
        }
    },
    
    map: {
        itemStyle: {
            normal: {
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#99d2dd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                linkStyle : {
                    color : '#d8361b'
                }
            }
        }
    },
    
    chord : {
        padding : 4,
        itemStyle : {
            normal : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            },
            emphasis : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            }
        }
    },
    
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#f16b4c'],[0.8, '#d8361b'],[1, '#99311c']], 
                width: 8
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :12,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 18,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    },
    
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

+ 164 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/roma.js

@ -0,0 +1,164 @@
define({
    color: ['#E01F54','#b8d2c7','#f5e8c8','#001852','#c6b38e',
            '#a4d8c2','#f3d999','#d3758f','#dcc392','#2e4783',
            '#82b6e9','#ff6347','#a092f1','#0a915d','#eaf889',
            '#6699FF','#ff6666','#3cb371','#d5b158','#38b6b6'],
    dataRange: {
        color:['#e01f54','#e7dbc3'],
        textStyle: {
            color: '#333'
        }
    },
    k: {
        itemStyle: {
            normal: {
                color: '#e01f54',          
                color0: '#001852',      
                lineStyle: {
                    width: 1,
                    color: '#f5e8c8',
                    color0: '#b8d2c7'   
                }
            }
        }
    },
    pie: {
        itemStyle: {
            normal: {
                
                borderColor: '#fff',
                borderWidth: 1,
                label: {
                    show: true,
                    position: 'outer',
                  textStyle: {color: '#1b1b1b'},
                  lineStyle: {color: '#1b1b1b'}
                    
                },
                labelLine: {
                    show: true,
                    length: 20,
                    lineStyle: {
                        
                        width: 1,
                        type: 'solid'
                    }
                }
            },
            emphasis: {
                
                borderColor: 'rgba(0,0,0,0)',
                borderWidth: 1,
                label: {
                    show: false
                },
                labelLine: {
                    show: false,
                    length: 20,
                    lineStyle: {
                        width: 1,
                        type: 'solid'
                    }
                }
            }
        }
    },
    
    map: {
        itemStyle: {
            normal: {
                borderColor: '#fff',
                borderWidth: 1,
                areaStyle: {
                    color: '#ccc'
                },
                label: {
                    show: false,
                    textStyle: {
                        color: 'rgba(139,69,19,1)'
                    }
                }
            },
            emphasis: {                 
                
                borderColor: 'rgba(0,0,0,0)',
                borderWidth: 1,
                areaStyle: {
                    color: '#f3d999'
                },
                label: {
                    show: false,
                    textStyle: {
                        color: 'rgba(139,69,19,1)'
                    }
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                label: {
                    show: false
                },
                nodeStyle : {
                    brushType : 'both',
                    strokeColor : '#5182ab'
                },
                linkStyle : {
                    strokeColor : '#5182ab'
                }
            },
            emphasis: {
                label: {
                    show: false
                },
                nodeStyle : {},
                linkStyle : {}
            }
        }
    },
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#E01F54'],[0.8, '#b8d2c7'],[1, '#001852']], 
                width: 8
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :12,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 18,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    }
});

+ 173 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/sakura.js

@ -0,0 +1,173 @@
define({
    // 全图默认背景
    // backgroundColor: 'rgba(0,0,0,0)',
    
    // 默认色板
    color: ['#e52c3c','#f7b1ab','#fa506c','#f59288','#f8c4d8',
            '#e54f5c','#f06d5c','#e54f80','#f29c9f','#eeb5b7'],
    // 值域
    dataRange: {
        color:['#e52c3c','#f7b1ab']//颜色 
    },
    
    // K线图默认参数
    k: {
        // barWidth : null          // 默认自适应
        // barMaxWidth : null       // 默认自适应 
        itemStyle: {
            normal: {
                color: '#e52c3c',          // 阳线填充颜色
                color0: '#f59288',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#e52c3c',   // 阳线边框颜色
                    color0: '#f59288'   // 阴线边框颜色
                }
            },
            emphasis: {
                // color: 各异,
                // color0: 各异
            }
        }
    },
    
    // 饼图默认参数
    pie: {
        itemStyle: {
            normal: {
                // color: 各异,
                borderColor: '#fff',
                borderWidth: 1,
                label: {
                    show: true,
                    position: 'outer',
                  textStyle: {color: 'black'}
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                labelLine: {
                    show: true,
                    length: 20,
                    lineStyle: {
                        // color: 各异,
                        width: 1,
                        type: 'solid'
                    }
                }
            }
        }
    },
    
    map: {
        mapType: 'china',   // 各省的mapType暂时都用中文
        mapLocation: {
            x : 'center',
            y : 'center'
            // width    // 自适应
            // height   // 自适应
        },
        showLegendSymbol : true,       // 显示图例颜色标识(系列标识的小圆点),存在legend时生效
        itemStyle: {
            normal: {
                // color: 各异,
                borderColor: '#fff',
                borderWidth: 1,
                areaStyle: {
                    color: '#ccc'//rgba(135,206,250,0.8)
                },
                label: {
                    show: false,
                    textStyle: {
                        color: 'rgba(139,69,19,1)'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                // color: 各异,
                borderColor: 'rgba(0,0,0,0)',
                borderWidth: 1,
                areaStyle: {
                    color: '#f3f39d'
                },
                label: {
                    show: false,
                    textStyle: {
                        color: 'rgba(139,69,19,1)'
                    }
                }
            }
        }
    },
    
    force : {
        // 分类里如果有样式会覆盖节点默认样式
        itemStyle: {
            normal: {
                // color: 各异,
                label: {
                    show: false
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                nodeStyle : {
                    brushType : 'both',
                    strokeColor : '#e54f5c'
                },
                linkStyle : {
                    strokeColor : '#e54f5c'
                }
            },
            emphasis: {
                // color: 各异,
                label: {
                    show: false
                    // textStyle: null      // 默认使用全局文本样式,详见TEXTSTYLE
                },
                nodeStyle : {},
                linkStyle : {}
            }
        }
    },
    
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#e52c3c'],[0.8, '#f7b1ab'],[1, '#fa506c']], 
                width: 8
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :12,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 18,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    }
});

+ 203 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/theme/shine.js

@ -0,0 +1,203 @@
define(function() {
var theme = {
    // 默认色板
    color: [
        '#c12e34','#e6b600','#0098d9','#2b821d',
        '#005eaa','#339ca8','#cda819','#32a487'
    ],
    // 图表标题
    title: {
        textStyle: {
            fontWeight: 'normal'
        }
    },
    
    // 值域
    dataRange: {
        itemWidth: 15,             // 值域图形宽度,线性渐变水平布局宽度为该值 * 10
        color:['#1790cf','#a2d4e6']
    },
    // 工具箱
    toolbox: {
        color : ['#06467c','#00613c','#872d2f','#c47630']
    },
    // 提示框
    tooltip: {
        backgroundColor: 'rgba(0,0,0,0.6)'
    },
    // 区域缩放控制器
    dataZoom: {
        dataBackgroundColor: '#dedede',            // 数据背景颜色
        fillerColor: 'rgba(154,217,247,0.2)',   // 填充颜色
        handleColor: '#005eaa'     // 手柄颜色
    },
    
    // 网格
    grid: {
        borderWidth: 0
    },
    
    // 类目轴
    categoryAxis: {
        axisLine: {            // 坐标轴线
            show: false
        },
        axisTick: {            // 坐标轴小标记
            show: false
        }
    },
    // 数值型坐标轴默认参数
    valueAxis: {
        axisLine: {            // 坐标轴线
            show: false
        },
        axisTick: {            // 坐标轴小标记
            show: false
        },
        splitArea: {           // 分隔区域
            show: true,       // 默认不显示,属性show控制显示与否
            areaStyle: {       // 属性areaStyle(详见areaStyle)控制区域样式
                color: ['rgba(250,250,250,0.2)','rgba(200,200,200,0.2)']
            }
        }
    },
    
    timeline : {
        lineStyle : {
            color : '#005eaa'
        },
        controlStyle : {
            normal : { color : '#005eaa'},
            emphasis : { color : '#005eaa'}
        }
    },
    // K线图默认参数
    k: {
        itemStyle: {
            normal: {
                color: '#c12e34',          // 阳线填充颜色
                color0: '#2b821d',      // 阴线填充颜色
                lineStyle: {
                    width: 1,
                    color: '#c12e34',   // 阳线边框颜色
                    color0: '#2b821d'   // 阴线边框颜色
                }
            }
        }
    },
    
    map: {
        itemStyle: {
            normal: {
                areaStyle: {
                    color: '#ddd'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            },
            emphasis: {                 // 也是选中样式
                areaStyle: {
                    color: '#e6b600'
                },
                label: {
                    textStyle: {
                        color: '#c12e34'
                    }
                }
            }
        }
    },
    
    force : {
        itemStyle: {
            normal: {
                linkStyle : {
                    color : '#005eaa'
                }
            }
        }
    },
    
    chord : {
        itemStyle : {
            normal : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            },
            emphasis : {
                borderWidth: 1,
                borderColor: 'rgba(128, 128, 128, 0.5)',
                chordStyle : {
                    lineStyle : {
                        color : 'rgba(128, 128, 128, 0.5)'
                    }
                }
            }
        }
    },
    
    gauge : {
        axisLine: {            // 坐标轴线
            show: true,        // 默认显示,属性show控制显示与否
            lineStyle: {       // 属性lineStyle控制线条样式
                color: [[0.2, '#2b821d'],[0.8, '#005eaa'],[1, '#c12e34']], 
                width: 5
            }
        },
        axisTick: {            // 坐标轴小标记
            splitNumber: 10,   // 每份split细分多少段
            length :8,        // 属性length控制线长
            lineStyle: {       // 属性lineStyle控制线条样式
                color: 'auto'
            }
        },
        axisLabel: {           // 坐标轴文本标签,详见axis.axisLabel
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        },
        splitLine: {           // 分隔线
            length : 12,         // 属性length控制线长
            lineStyle: {       // 属性lineStyle(详见lineStyle)控制线条样式
                color: 'auto'
            }
        },
        pointer : {
            length : '90%',
            width : 3,
            color : 'auto'
        },
        title : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: '#333'
            }
        },
        detail : {
            textStyle: {       // 其余属性默认使用全局文本样式,详见TEXTSTYLE
                color: 'auto'
            }
        }
    },
    
    textStyle: {
        fontFamily: '微软雅黑, Arial, Verdana, sans-serif'
    }
};
    return theme;
});

File diff suppressed because it is too large
+ 216 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/index.html


+ 85 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/data-a-china.js

@ -0,0 +1,85 @@
// 人均
// gdp
dataMap.dataAGDP = dataFormatter({
    2011:[8049.494799,8344.856089,3385.68706,3127.623156,5785.60838,5071.115674,3844.608949,3281.690141,8178.81977,6217.27687,5915.952773,2563.781836,4720.478495,2607.580214,4707.050949,2868.665317,3409.562348,2982.043663,5065.233698,2523.330463,2876.465222,3429.725934,2612.009938,1643.655232,1920.345498,1999.438944,3342.853326,1958.022621,2940.915493,3289.843505,2992.326845],
    2010:[7193.465851,7101.200924,2834.898527,2574.387241,4721.682848,4218.804571,3155.289407,2705.087399,7453.747286,5264.389376,5089.463925,2074.757428,3990.555104,2118.166741,4085.306633,2455.328017,2787.641411,2441.089802,4406.959104,2075.889371,2375.719217,2747.168111,2136.169049,1322.839897,1569.791395,1691.533333,2710.436412,1609.667969,2398.632327,2669.273302,2488.544622],
    2009:[6533.887097,6125.285016,2450.309923,2147.157864,3962.672905,3504.374568,2656.478102,2244.380554,6808.348416,4411.946223,4357.534117,1641.301582,3337.842335,1727.251805,3579.3717,2053.384632,2265.926573,2038.665314,3897.587364,1597.850082,1914.594907,2284.018888,1728.928528,1106.214306,1349.759352,1491.081081,2192.057955,1325.855186,1941.238779,2165.296,1981.032886],
    2008:[6276.115189,5713.443878,2291.024467,2144.649663,3476.350245,3167.689455,2350.438917,2173.691503,6571.63475,3991.49446,4117.937452,1442.813366,2974.171476,1584.329545,3284.833811,1910.96935,1983.701628,1811.128527,3719.469322,1457.848837,1760.023419,2040.739697,1548.443106,990.4226919,1252.942989,1352.226027,1967.342657,1241.403371,1838.66426,1948.090615,1963.026748],
    2007:[5875.184964,4710.995516,1959.861731,1775.552608,2644.37217,2597.557003,1935.783883,1857.740586,6053.299419,3368.960249,3637.968962,1203.157895,2560.501107,1327.896062,2751.885342,1603.895299,1637.725917,1485.381589,3289.545549,1221.352768,1484.224852,1660.557528,1299.666544,794.0831498,1057.270713,1181.418685,1552.667206,1061.216641,1444.474638,1506.737705,1681.699284],
    2006:[5070.443473,4151.386047,1662.452885,1445.514074,2047.308489,2178.534301,1570.003672,1624.849595,5383.014257,2839.87069,3099.067429,1000.409165,2115.439331,1110.977184,2352.582447,1316.31069,1338.041454,1212.341533,2815.90341,1005.755457,1274.72488,1391.463675,1063.807076,633.8699187,889.6140977,1020.210526,1282.403352,894.1303494,1183.394161,1201.821192,1485.492683],
    2005:[4531.547464,3744.621285,1461.408553,1260.962742,1625.064503,1906.481876,1332.941826,1443.376963,4892.941799,2451.066157,2688.375075,874.2107843,1842.757942,941.0252842,1986.036981,1128.722814,1154.148862,1042.696807,2453.488144,854.9570815,1109.601449,1239.356683,899.3058938,537.6461126,778.141573,888.5714286,1066.04878,759.913556,1000.589319,1027.869128,1295.616915],
    2004:[4040.997991,3038.056641,1245.062417,1070.875562,1270.819056,1582.167418,1152.458472,1244.589992,4399.362398,1994.363951,2365.218274,764.1779062,1633.1397,806.8860878,1636.366013,880.2912422,988.6346086,842.3320394,2070.532324,702.290857,1002.02934,1086.494808,788.5822002,429.7643443,698.0543601,798.3333333,862.6949199,664.498229,864.7495362,913.452381,1125.364238],
    2003:[3439.017857,2549.980218,1022.498153,861.5660833,1000.997485,1425.781473,984.4970414,1063.538663,3790.617214,1668.39233,1998.151122,636.5584942,1423.092519,659.9459332,1323.632877,710.4272266,836.8425682,699.3831607,1767.783108,580.8338481,880.3452528,911.7802355,652.2859589,368.5633075,584.0996344,680.4779412,704.7167756,551.7658652,730.7116105,767.862069,975.3619442],
    2002:[3032.326072,2135.809335,893.5827765,705.7680631,814.1526846,1298.648584,870.1519081,953.8945712,3351.447752,1432.196867,1675.810302,572.8710938,1285.256041,580.4073899,1131.413786,627.8456257,742.7397743,626.2694222,1527.077584,523.3782663,800.4109589,793.4825871,582.6152898,324.0630701,533.7687514,604.6268657,615.3440743,486.7759779,643.9508507,659.3706294,846.5354331]
});
// 第一产业
dataMap.dataAPI = dataFormatter({
    2011:[67.49380882,117.8745387,401.2884961,178.5193432,526.3094279,437.0454027,464.6926155,443.7923839,53.23391564,387.9959489,289.774849,337.685992,433.3978495,309.9532086,412.3534295,374.1201534,446.2139632,419.6528199,253.7077582,440.7384284,751.6875713,289.3182597,370.6223602,209.3456327,304.6879724,245.7755776,326.1822068,264.7230889,273.028169,288.1690141,515.6315075],
    2010:[63.38430173,112.0708237,356.2427023,155.1426973,443.0744337,372.8182857,382.2897707,339.9165145,49.56578376,322.7983225,249.7815311,290.2501259,369.2580558,270.502017,374.2469754,346.4210526,374.825419,353.957382,219.0384063,363.3535792,621.2082854,237.5667244,308.6252331,179.6579477,240.8474576,229.0666667,264.6452477,234.09375,239.6447602,251.64297,493.6521739],
    2009:[63.59677419,104.9267101,313.8100654,139.3609571,378.1936534,325.9387238,357.8722628,301.7067433,51.50226244,289.6107554,220.4473086,243.9161638,322.6241135,247.8925993,340.7222809,291.8783599,313.9685315,307.4758039,198.4471866,300.3480231,534.9421296,212.2420427,273.7458766,155.5753463,233.5593962,215.8108108,211.8701368,194.5401174,192.8186715,203.6,351.8943956],
    2008:[63.70976849,104.2346939,291.1131779,91.93198476,371.5016367,301.7427578,335.3035845,284.6901961,52.21858944,270.5629992,210.2762855,231.1475143,318.2660071,240.9954545,318.8541999,281.979001,311.6792155,296.6144201,199.4389973,301.8583887,510.5854801,202.6769989,272.3212091,149.9416018,224.644508,207.6027397,202.7218935,181.2112897,190.5595668,192.4595469,324.2937588],
    2007:[60.4176611,98.82511211,259.9337462,91.94518126,313.7505146,263.7087017,287.1062271,239.3776151,49.34108527,235.1819241,191.2744908,196.1719516,277.4390919,207.3649267,267.8701826,236.9294872,241.7968065,255.9370574,175.5248447,260.3502517,427.3017751,171.303267,250.0307617,122.9019824,185.5006646,189.9307958,159.8247033,152.099686,151.1050725,160.4754098,300.1050119],
    2006:[55.46533417,96.13953488,211.9179472,82.00592593,262.9151139,219.9555139,247.0657363,196.2176301,47.76476578,201.8090387,182.3935331,165.4713584,241.5564854,181.1799954,229.7668923,204.0821976,200.3179343,200.5991801,162.2717645,218.7899979,386.937799,137.5997151,195.3090954,103.5392954,161.5882222,178.5964912,131.0651527,131.1346682,123.2664234,131.6887417,257.4634146],
    2005:[57.65929779,107.746884,204.34973,78.21758569,245.3433208,209.0523573,230.3424153,179.2146597,47.75661376,192.6080654,178.8879984,157.9248366,232.600506,168.7241939,212.3172578,201.706823,189.5148862,173.9883022,155.3480531,195.8154506,363.2246377,165.6182988,180.3628836,98.91152815,148.694382,171.5714286,118.0948509,121.0451866,120.3314917,120.9228188,253.7263682],
    2004:[58.51306095,102.8125,201.2674402,82.84857571,218.4705391,189.3360209,209.926172,158.7084097,45.47683924,181.7865213,165.2994924,152.6172126,222.9640125,155.1120448,193.7309368,169.7324277,179.025974,152.6500448,137.0420371,167.2898343,340.7823961,153.2581454,170.5723115,85.68135246,137.6557191,160.5072464,105.3735398,112.8610783,112.6159555,111.1054422,234.9770759],
    2003:[57.76785714,88.93175074,157.1945635,64.93361497,176.0687343,146.2707838,180.558432,132.3197903,45.87768969,155.866184,147.796994,121.596625,197.8697887,131.6408087,162.2652055,123.9991724,140.4309587,133.043674,119.7043401,135.6351657,301.2207152,120.9632537,138.0393836,77.18087855,113.0255941,149.6323529,82.42374728,93.77611352,90.76779026,95.9137931,213.4953464],
    2002:[57.93394238,83.62462761,142.0697847,60.04857316,157.1686242,140.423507,165.3093738,124.3640178,46.51488616,149.9378882,143.4673367,127.5488281,191.2485616,126.9493131,153.049989,134.0226776,124.6473907,127.8096244,114.802081,124.8423891,277.5716065,112.960199,129.217016,73.26035966,106.9559197,148.3208955,77.06444566,85.14816278,89.43289225,92.56993007,160.1049869]
});
// 第二产业
dataMap.dataASI = dataFormatter({
    2011:[1858.583457,4375.143911,1812.851816,1846.71862,3238.392425,2772.564454,2041.280466,1555.140845,3377.882403,3190.692493,3030.492403,1392.322386,2437.956989,1423.91934,2492.177026,1643.276523,1704.748176,1419.343542,2517.599238,1221.812702,814.709236,1898.951696,1370.078261,632.5540502,816.307493,689.0759076,1852.949506,927.3907956,1716.866197,1652.816901,1460.344047],
    2010:[1727.003058,3726.120092,1488.418126,1464.465585,2575.926375,2280.416,1640.447761,1311.022698,3134.311767,2764.510103,2624.918304,1080.513681,2037.051178,1148.112954,2215.111598,1406.313663,1356.01257,1117.684932,2204.245762,978.6724512,657.0771001,1510.960139,1077.958981,517.4073009,700.4541504,546.4,1458.125837,775.3789063,1322.611012,1307.914692,1186.338673],
    2009:[1535.241935,3247.42671,1273.78874,1165.392472,2080.553295,1821.317669,1292.671533,1061.348667,2715.737557,2377.256082,2257.105762,800.0685043,1638.106929,884.3524368,1995.969377,1160.588173,1055.608392,887.7911333,1917.048371,696.3632619,513.2291667,1206.285414,820.0207697,417.4780888,564.9814045,461.5878378,1136.68366,597.7455969,1032.908438,1059.712,893.7424734],
    2008:[1483.009599,3154.57483,1245.005008,1243.729112,1790.585106,1659.059096,1132.816386,1129.346405,2842.522186,2189.29915,2219.382195,684.4221679,1461.511404,807.9113636,1865.984921,1088.131297,889.8739275,788.2335423,1870.231477,630.7599668,495.9601874,1077.062346,715.5799951,380.987208,539.8965441,395.7534247,1038.493814,576.377891,1005.631769,987.0226537,971.7315814],
    2007:[1497.25537,2594.197309,1037.286476,1018.122605,1314.808563,1289.934853,906.7582418,966.417364,2699.156977,1873.787388,1969.786615,550.9905198,1239.318937,681.2110806,1563.737589,884.917735,726.980172,625.9197482,1656.791925,508.6598154,431.0769231,841.0973011,572.0179648,309.6888767,451.570669,340.7612457,805.4099245,502.0879121,759.1123188,745.9672131,786.4200477],
    2006:[1368.788257,2285.655814,885.8263265,816.4918519,983.4202899,1069.264809,703.3749541,880.2798849,2530.52444,1604.348224,1678.13683,443.7283142,1030.694561,557.6722747,1350.73907,715.9933986,591.0908133,502.5307474,1426.580174,398.0843399,369.1626794,666.5420228,462.1300037,262.2059621,380.5108186,281.0526316,663.000811,409.5759717,605.6751825,582.0860927,711.8536585],
    2005:[1317.626788,2047.04698,769.4599329,702.5454545,737.9151061,916.7022033,582.0434462,777.9267016,2318.095238,1387.053242,1435.533961,366.9771242,892.8647737,444.7854326,1133.068772,587.8614072,499.4956217,412.9892507,1235.218621,324.1802575,290.8574879,558.9706934,373.5058451,220.150134,320.5438202,226.8571429,528.8238482,329.4931238,487.3112339,471.5604027,579.4975124],
    2004:[1241.513731,1646.416016,631.7711852,575.5322339,521.6339323,726.0184966,490.8379476,651.5692953,2121.046322,1121.625681,1269.11269,296.226718,785.0637574,365.6395892,923.6045752,430.3900381,407.2657073,327.0438937,1018.62913,256.4328083,251.3447433,492.9860365,307.7132262,174.5645492,290.2899207,191.0869565,421.9233904,280.7162534,392.7643785,415.0510204,465.8532858],
    2003:[1021.394231,1322.759644,504.8840301,441.5751358,405.4861693,688.5724466,406.2019231,546.4482307,1817.112118,910.0442478,1049.285567,249.1140678,668.4237579,283.1053126,710.690411,342.4164684,344.0668426,266.8077443,847.1248466,202.610665,216.7940814,405.0338923,246.4285714,147.124031,239.4104205,175.1470588,332.5626362,225.4710288,321.9475655,334.9482759,372.0475698],
    2002:[878.4188335,1061.648461,432.3221975,344.3564056,316.602349,620.9493219,349.5702112,483.5038028,1530.910683,756.7499325,856.4656616,217.6171875,586.0097814,223.0625296,570.9072891,288.0214293,301.4615656,229.8235028,694.7975571,175.6304438,185.4047323,340.7498223,213.7336621,125.6085483,215.7581352,122.0895522,275.1392682,198.2180956,273.1758034,267.5874126,316.6141732]
});
// 第三产业
dataMap.dataATI = dataFormatter({
    2011:[6123.417533,3851.837638,1171.546748,1102.385193,2020.906527,1861.505818,1338.635868,1282.756912,4747.703451,2638.588429,2595.685521,833.7734584,1849.123656,873.7076649,1802.520494,851.269706,1258.600208,1143.047301,2293.926702,860.7814855,1310.068415,1241.455978,871.3093168,801.7555491,799.3500324,1064.587459,1163.721614,765.9087363,951.0211268,1348.85759,1016.35129],
    2010:[5403.078491,3263.010008,990.2376981,954.7789591,1702.682039,1565.570286,1132.551875,1054.148187,4269.869735,2177.080951,2214.76409,703.993621,1584.245871,699.5517705,1495.947017,702.5933014,1056.803422,969.4474886,1983.674935,733.8633406,1097.433832,998.6412478,749.5848353,625.7746479,628.489787,916.0666667,987.665328,600.1953125,836.3765542,1109.71564,808.5537757],
    2009:[4935.048387,2772.931596,862.7111174,842.4044354,1503.925956,1357.118176,1005.934307,881.3251438,4041.108597,1745.079385,1879.981046,597.316914,1377.111293,595.006769,1242.680042,600.9180985,896.3496503,843.3983765,1782.091807,601.1387974,866.4236111,865.4914306,635.1618815,533.1608708,551.2185517,813.6824324,843.5041588,533.5694716,715.5116697,901.984,735.3960167],
    2008:[4729.395822,2454.634354,754.9062813,808.9885664,1314.263502,1206.887601,882.3189466,759.654902,3676.893975,1531.632311,1688.278972,527.2436838,1194.394064,535.4227273,1099.993629,540.8590519,782.1484854,726.2805643,1649.798848,525.2304817,753.4777518,761.0003522,560.5419022,459.4938821,488.401937,748.869863,726.12695,483.8141905,642.4729242,768.6084142,667.0014078],
    2007:[4317.511933,2017.973094,662.6415094,665.4848217,1015.813092,1043.913448,741.9194139,651.9456067,3304.801357,1259.990936,1476.907856,455.9954233,1043.743079,439.3200549,920.2775702,482.0480769,668.9489384,603.5247836,1457.228778,452.340604,625.8461538,648.1569602,477.6178172,361.4922907,420.1993797,650.7266436,587.4325782,407.0290424,534.2572464,600.295082,595.1742243],
    2006:[3646.189881,1769.590698,564.7086112,547.0162963,800.9730849,889.313978,619.562982,548.3520795,2804.725051,1033.713427,1238.537066,391.2094926,843.1882845,372.1249136,772.0764851,396.2350937,546.6327068,509.2116052,1227.051472,388.8789998,518.6244019,587.3219373,406.3679765,268.1246612,347.5150569,560.5614035,488.3373885,353.4197095,454.4525547,488.0463576,516.1756098],
    2005:[3156.261378,1589.827421,487.5988907,480.1997019,641.8060757,780.7273158,520.5559647,486.2356021,2527.089947,871.4048498,1073.953116,349.3088235,717.2926624,327.5156576,640.6509516,339.1545842,465.1383538,455.7192539,1062.921471,334.9613734,455.5193237,514.7676912,345.4371651,218.5844504,308.9033708,490.1428571,419.1300813,309.3752456,392.946593,435.385906,462.3930348],
    2004:[2740.971199,1288.828125,412.023792,412.4947526,530.7145842,666.8129002,451.6943522,434.3122871,2232.839237,690.951748,930.8060914,315.3339756,625.1119297,286.1344538,519.0305011,280.1687764,402.3429273,362.6381009,914.8611568,278.5682144,409.9022005,440.2506266,310.2966625,169.5184426,270.1087203,446.7391304,335.3979897,270.9208973,359.3692022,387.2959184,424.5338767],
    2003:[2359.855769,1138.288823,360.4195598,355.054315,419.4425817,590.9382423,397.7366864,384.7706422,1927.627407,602.4818986,801.0685608,265.8478014,556.798972,245.1998119,450.6772603,244.0115858,352.3447669,299.5317425,800.952806,242.5880173,362.3304562,385.7830895,267.8180039,144.2583979,231.6636197,355.7352941,289.7303922,232.5226646,317.9962547,337,389.8190279],
    2002:[2095.973296,990.5362463,319.1907944,301.3630844,340.3817114,537.2757554,355.2723231,346.0267506,1774.022183,525.5090467,675.8773032,227.7050781,507.9976985,230.3955471,407.4565074,205.8015188,316.6308181,268.6362951,717.4779462,222.9054334,337.4346202,339.7725657,239.6646116,125.1941621,211.0546965,334.1791045,263.1403605,203.4097195,281.342155,299.1958042,369.816273]
});
// 房地产
dataMap.dataAEstate = dataFormatter({
    2011:[532.4071322,303.6605166,126.7808314,62.59671584,155.020145,199.890486,86.79883594,128.351591,434.4610141,347.8782124,306.9979865,106.3873995,244.9354839,89.68582888,190.7377815,105.1342139,110.2240361,78.53850819,316.1646835,100.2540366,237.981756,135.7588215,77.09565217,46.20928221,48.00475059,57.55775578,106.3398344,52.35959438,51.1443662,123.6463224,79.77365324],
    2010:[513.0071356,290.6774442,96.99610787,53.72132065,125.1011327,167.6274286,77.29159083,102.2410644,435.3017803,330.5311984,297.0754544,89.33523586,183.8694828,76.32451815,169.1854401,82.21477937,98.53526536,70.65601218,269.5096255,88.02386117,216.7203682,92.33275563,69.42945929,40.13797068,48.5549761,48.46666667,84.59170013,42.9765625,45.13321492,95.62401264,65.64759725],
    2009:[571.2204301,251.4087948,87.06283765,50.5719288,116.6192026,139.4310067,73.04379562,78.71928907,559.9819005,259.3329065,249.5905989,81.21676725,179.1080196,69.02075812,140.4002112,65.6667018,95.47377622,62.45863253,243.8923988,71.86573311,140.9259259,80.12941588,66.96884545,38.49307323,44.87858237,44.86486486,64.37349074,39.67514677,41.38240575,76.096,53.37193145],
    2008:[476.9000565,193.7755102,73.51695522,48.67780709,111.8248773,116.0625724,66.82516459,63.91372549,438.7389071,209.4988405,201.8476592,70.29665852,139.3184941,64.08181818,117.3356695,54.34510553,92.2570478,53.30250784,207.970282,58.75415282,111.9437939,67.35117999,55.7421971,29.14627364,43.02883557,51.64383562,51.98224852,36.76989416,36.02888087,62.86407767,42.13514782],
    2007:[490.1551313,164.5201794,67.40169955,39.52844091,78.6372993,95.49325268,56.05494505,59.05073222,464.1763566,176.8367215,190.3821532,59.91663942,141.6112957,51.73076923,101.8138145,47.8034188,71.88103176,47.49016522,210.121118,50.22021812,79.5147929,69.62357955,46.36889381,25.65803965,42.8865751,45.81314879,41.52642934,32.77864992,30.76086957,48.3442623,43.57040573],
    2006:[411.1805122,145.7116279,57.57320963,34.66962963,56.52173913,74.58206509,48.11237606,50.92859011,393.895112,132.9558516,156.6265773,46.15057283,121.4002789,42.56049781,84.489204,37.12734242,51.77059547,40.17817723,182.3840288,40.728968,53.16985646,56.33903134,41.1555882,21.74525745,37.01093018,41.8245614,33.84698567,28.74361995,27.68248175,42.26821192,33.6097561],
    2005:[321.0208062,117.6126558,48.2951394,31.59463487,41.09446525,60.8315565,41.34388807,42.7591623,378.8201058,105.3940432,138.0204368,37.85294118,93.28085465,39.87009974,71.8966263,31.78997868,38.03327496,34.08631046,155.5764629,35.41845494,46.1352657,51.4224446,34.85509011,20.4772118,33.41348315,35.78571429,29.43631436,25.06090373,25.96685083,38.54026846,27.75621891],
    2004:[292.103148,103.6523438,33.93743575,28.51574213,30.84412871,48.16220062,36.1498708,36.08593136,363.106267,71.00491825,119.3563452,30.23121387,70.39954661,39.02894491,51.55446623,24.33261295,35.94243594,28.59062407,121.1447701,25.06033954,37.45721271,46.22986037,32.66996292,17.49487705,26.39637599,21.01449275,26.05270307,22.36914601,24.1187384,35.34013605,27.27967397],
    2003:[234.8076923,91.30563798,27.35854631,23.75678938,25.58675608,44.7719715,34.01997041,33.34207077,276.2287656,59.99865916,97.41815936,26.38812267,61.63335237,32.44475787,45.83123288,22.50749974,31.09938434,27.98889389,106.6227826,20.78031707,30.99876695,40.56011416,28.34148728,15.46770026,23.71800731,15.99264706,22.84858388,18.9554592,21.3670412,29.05172414,24.73629783],
    2002:[209.43078,72.53227408,20.91907944,19.98482089,21.59395973,31.15393766,28.19933309,31.13034356,224.6701693,50.10667027,75.50879397,22.65299479,54.11104718,29.67077215,40.86434706,20.73338188,25.59414669,24.93437924,91.40013572,17.1775197,26.71232877,32.15351812,25.99506782,13.94057858,22.08169859,12.76119403,21.21245221,16.40458317,18.4120983,23.53146853,22.59317585]
});
// 金融
dataMap.dataAFinancial = dataFormatter({
    2011:[1097.280832,558.302583,103.0258252,144.5365989,180.2820306,172.3864933,75.53655875,96.70839854,970.3451214,329.1695151,499.77851,84.4252681,231.8306452,79.64349376,170.2199855,92.4797614,117.1535255,75.96876895,277.5944788,95.88159311,120,241.4045906,107.8447205,85.69328337,98.51651911,104.620462,115.4448303,56.57176287,110.1408451,209.9843505,130.7243096],
    2010:[949.8521916,441.1008468,85.54628857,125.4336877,140.1456311,146.1188571,69.21004732,79.46517088,847.138515,267.6223154,427.1305306,66.50495216,207.8472786,54.12147019,141.9952023,74.18181818,97.98708101,70.49619482,254.6461067,83.41214751,89.89643268,172.117851,81.37973897,66.54498419,81.50369405,90.26666667,103.0120482,39.2734375,96.85612789,154.6129542,103.0663616],
    2009:[862.1666667,375.5700326,74.73272676,105.5266997,118.4296176,129.0486063,65.99635036,59.47203346,816.4162896,204.4788732,359.9943139,58.65274833,166.9939989,37.25180505,110.3379092,52.69526721,83.76048951,62.84264752,225.3988154,69.3616145,76.07638889,136.4008395,64.09651802,54.97314108,76.95033909,78.27702703,90.20928361,34.54794521,81.92100539,120.864,92.11208893],
    2008:[857.8147939,313.0102041,60.20031478,85.28583993,89.64402619,105.4623407,53.85515728,46.3869281,660.5371322,167.2867818,317.2390637,51.15077425,136.7546029,29.675,93.477753,43.88906565,68.82332341,52.40125392,199.3732942,51.70473422,55.42154567,106.7312434,50.52101253,42.14404894,61.11820383,76.78082192,77.23507262,28.41630733,65.9566787,104.8543689,80.69920225],
    2007:[777.3090692,258.4484305,50.07201498,64.46507515,61.05393166,89.88832015,46.16483516,40.65899582,585.7945736,136.5078337,242.7604268,36.58875449,106.8217054,23.20054945,78.45628269,32.29807692,59.18055799,40.93469709,176.5093168,40.00209732,40.74556213,87.87642045,44.18727698,33.65914097,37.33938857,39.82698962,62.30582524,24.17582418,50.12681159,83.68852459,71.22673031],
    2006:[613.5977514,173.8325581,41.1771528,50.26074074,44.80745342,71.03956919,36.99963276,19.40099398,420.1629328,85.32523511,178.7007098,27.17021277,68.0334728,18.37981102,56.39058975,23.39437819,30.73774811,32.28003784,95.30925651,27.36596737,19.58133971,76.1039886,36.66299425,24.23577236,32.03658265,22.59649123,41.15977291,19.83117393,43.22992701,61.24172185,48.41463415],
    2005:[546.2938882,141.3231064,31.1589549,40.25931446,30.17894299,55.16465293,30.7916053,9.170157068,357.2063492,64.89193463,137.5115207,20.75980392,52.32499297,16.13314776,48.48183391,19.37526652,22.29772329,25.66708821,71.98281488,19.72746781,15.89371981,66.18298785,31.93619094,19.75067024,29.3258427,27.03571429,34.57452575,17.57563851,37.49539595,54.11073826,39.97014925],
    2004:[478.0910918,133.7597656,30.70935527,33.07046477,23.35562056,44.59094143,28.48652639,8.435944459,333.760218,58.55376844,106.2923858,15.10918433,48.45565316,15.19607843,37.40413943,17.57949985,20.85819586,17.71275007,66.14861157,15.13601964,14.13202934,58.13820265,29.23362176,15.44569672,26.81766704,19.56521739,24.47704428,16.91853601,35.25046382,47.4829932,35.81253184],
    2003:[436.510989,111.5628091,29.52725661,35.75135788,23.42414082,34.53206651,27.05251479,8.440366972,293.3012458,52.57575758,92.96685197,14.18951809,42.85836665,15.11753644,36.13260274,17.07975587,18.87598945,14.91070089,59.60950575,12.68066708,13.16892725,52.45808063,25.22504892,12.40568475,24.10420475,17.42647059,21.20642702,16.67717777,33.67041199,42.75862069,33.56773526],
    2002:[394.8770204,76.32571996,26.66666667,37.67455981,20.29781879,32.63859148,27.95479807,8.287437713,283.2749562,49.80556306,72.7659129,13.3219401,39.78135788,18.12174325,34.14115834,16.51617601,17.09273625,13.94327953,51.41936214,7.436748237,12.55292653,47.80383795,22.58076449,10.80271045,23.63027925,10.48507463,18.37793555,16.62583959,31.66351607,37.5,27.39107612]
});

+ 84 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/data-china.js

@ -0,0 +1,84 @@
dataMap.dataGDP = dataFormatter({
    //max : 60000,
    2011:[16251.93,11307.28,24515.76,11237.55,14359.88,22226.7,10568.83,12582,19195.69,49110.27,32318.85,15300.65,17560.18,11702.82,45361.85,26931.03,19632.26,19669.56,53210.28,11720.87,2522.66,10011.37,21026.68,5701.84,8893.12,605.83,12512.3,5020.37,1670.44,2102.21,6610.05],
    2010:[14113.58,9224.46,20394.26,9200.86,11672,18457.27,8667.58,10368.6,17165.98,41425.48,27722.31,12359.33,14737.12,9451.26,39169.92,23092.36,15967.61,16037.96,46013.06,9569.85,2064.5,7925.58,17185.48,4602.16,7224.18,507.46,10123.48,4120.75,1350.43,1689.65,5437.47],
    2009:[12153.03,7521.85,17235.48,7358.31,9740.25,15212.49,7278.75,8587,15046.45,34457.3,22990.35,10062.82,12236.53,7655.18,33896.65,19480.46,12961.1,13059.69,39482.56,7759.16,1654.21,6530.01,14151.28,3912.68,6169.75,441.36,8169.8,3387.56,1081.27,1353.31,4277.05],
    2008:[11115,6719.01,16011.97,7315.4,8496.2,13668.58,6426.1,8314.37,14069.87,30981.98,21462.69,8851.66,10823.01,6971.05,30933.28,18018.53,11328.92,11555,36796.71,7021,1503.06,5793.66,12601.23,3561.56,5692.12,394.85,7314.58,3166.82,1018.62,1203.92,4183.21],
    2007:[9846.81,5252.76,13607.32,6024.45,6423.18,11164.3,5284.69,7104,12494.01,26018.48,18753.73,7360.92,9248.53,5800.25,25776.91,15012.46,9333.4,9439.6,31777.01,5823.41,1254.17,4676.13,10562.39,2884.11,4772.52,341.43,5757.29,2703.98,797.35,919.11,3523.16],
    2006:[8117.78,4462.74,11467.6,4878.61,4944.25,9304.52,4275.12,6211.8,10572.24,21742.05,15718.47,6112.5,7583.85,4820.53,21900.19,12362.79,7617.47,7688.67,26587.76,4746.16,1065.67,3907.23,8690.24,2338.98,3988.14,290.76,4743.61,2277.35,648.5,725.9,3045.26],
    2005:[6969.52,3905.64,10012.11,4230.53,3905.03,8047.26,3620.27,5513.7,9247.66,18598.69,13417.68,5350.17,6554.69,4056.76,18366.87,10587.42,6590.19,6596.1,22557.37,3984.1,918.75,3467.72,7385.1,2005.42,3462.73,248.8,3933.72,1933.98,543.32,612.61,2604.19],
    2004:[6033.21,3110.97,8477.63,3571.37,3041.07,6672,3122.01,4750.6,8072.83,15003.6,11648.7,4759.3,5763.35,3456.7,15021.84,8553.79,5633.24,5641.94,18864.62,3433.5,819.66,3034.58,6379.63,1677.8,3081.91,220.34,3175.58,1688.49,466.1,537.11,2209.09],
    2003:[5007.21,2578.03,6921.29,2855.23,2388.38,6002.54,2662.08,4057.4,6694.23,12442.87,9705.02,3923.11,4983.67,2807.41,12078.15,6867.7,4757.45,4659.99,15844.64,2821.11,713.96,2555.72,5333.09,1426.34,2556.02,185.09,2587.72,1399.83,390.2,445.36,1886.35],
    2002:[4315,2150.76,6018.28,2324.8,1940.94,5458.22,2348.54,3637.2,5741.03,10606.85,8003.67,3519.72,4467.55,2450.48,10275.5,6035.48,4212.82,4151.54,13502.42,2523.73,642.73,2232.86,4725.01,1243.43,2312.82,162.04,2253.39,1232.03,340.65,377.16,1612.6]
});
dataMap.dataPI = dataFormatter({
    //max : 4000,
    2011:[136.27,159.72,2905.73,641.42,1306.3,1915.57,1277.44,1701.5,124.94,3064.78,1583.04,2015.31,1612.24,1391.07,3973.85,3512.24,2569.3,2768.03,2665.2,2047.23,659.23,844.52,2983.51,726.22,1411.01,74.47,1220.9,678.75,155.08,184.14,1139.03],
    2010:[124.36,145.58,2562.81,554.48,1095.28,1631.08,1050.15,1302.9,114.15,2540.1,1360.56,1729.02,1363.67,1206.98,3588.28,3258.09,2147,2325.5,2286.98,1675.06,539.83,685.38,2482.89,625.03,1108.38,68.72,988.45,599.28,134.92,159.29,1078.63],
    2009:[118.29,128.85,2207.34,477.59,929.6,1414.9,980.57,1154.33,113.82,2261.86,1163.08,1495.45,1182.74,1098.66,3226.64,2769.05,1795.9,1969.69,2010.27,1458.49,462.19,606.8,2240.61,550.27,1067.6,63.88,789.64,497.05,107.4,127.25,759.74],
    2008:[112.83,122.58,2034.59,313.58,907.95,1302.02,916.72,1088.94,111.8,2100.11,1095.96,1418.09,1158.17,1060.38,3002.65,2658.78,1780,1892.4,1973.05,1453.75,436.04,575.4,2216.15,539.19,1020.56,60.62,753.72,462.27,105.57,118.94,691.07],
    2007:[101.26,110.19,1804.72,311.97,762.1,1133.42,783.8,915.38,101.84,1816.31,986.02,1200.18,1002.11,905.77,2509.14,2217.66,1378,1626.48,1695.57,1241.35,361.07,482.39,2032,446.38,837.35,54.89,592.63,387.55,83.41,97.89,628.72],
    2006:[88.8,103.35,1461.81,276.77,634.94,939.43,672.76,750.14,93.81,1545.05,925.1,1011.03,865.98,786.14,2138.9,1916.74,1140.41,1272.2,1532.17,1032.47,323.48,386.38,1595.48,382.06,724.4,50.9,484.81,334,67.55,79.54,527.8],
    2005:[88.68,112.38,1400,262.42,589.56,882.41,625.61,684.6,90.26,1461.51,892.83,966.5,827.36,727.37,1963.51,1892.01,1082.13,1100.65,1428.27,912.5,300.75,463.4,1481.14,368.94,661.69,48.04,435.77,308.06,65.34,72.07,509.99],
    2004:[87.36,105.28,1370.43,276.3,522.8,798.43,568.69,605.79,83.45,1367.58,814.1,950.5,786.84,664.5,1778.45,1649.29,1020.09,1022.45,1248.59,817.88,278.76,428.05,1379.93,334.5,607.75,44.3,387.88,286.78,60.7,65.33,461.26],
    2003:[84.11,89.91,1064.05,215.19,420.1,615.8,488.23,504.8,81.02,1162.45,717.85,749.4,692.94,560,1480.67,1198.7,798.35,886.47,1072.91,658.78,244.29,339.06,1128.61,298.69,494.6,40.7,302.66,237.91,48.47,55.63,412.9],
    2002:[82.44,84.21,956.84,197.8,374.69,590.2,446.17,474.2,79.68,1110.44,685.2,783.66,664.78,535.98,1390,1288.36,707,847.25,1015.08,601.99,222.89,317.87,1047.95,281.1,463.44,39.75,282.21,215.51,47.31,52.95,305]
});
dataMap.dataSI = dataFormatter({
    //max : 26600,
    2011:[3752.48,5928.32,13126.86,6635.26,8037.69,12152.15,5611.48,5962.41,7927.89,25203.28,16555.58,8309.38,9069.2,6390.55,24017.11,15427.08,9815.94,9361.99,26447.38,5675.32,714.5,5543.04,11029.13,2194.33,3780.32,208.79,6935.59,2377.83,975.18,1056.15,3225.9],
    2010:[3388.38,4840.23,10707.68,5234,6367.69,9976.82,4506.31,5025.15,7218.32,21753.93,14297.93,6436.62,7522.83,5122.88,21238.49,13226.38,7767.24,7343.19,23014.53,4511.68,571,4359.12,8672.18,1800.06,3223.49,163.92,5446.1,1984.97,744.63,827.91,2592.15],
    2009:[2855.55,3987.84,8959.83,3993.8,5114,7906.34,3541.92,4060.72,6001.78,18566.37,11908.49,4905.22,6005.3,3919.45,18901.83,11010.5,6038.08,5687.19,19419.7,3381.54,443.43,3448.77,6711.87,1476.62,2582.53,136.63,4236.42,1527.24,575.33,662.32,1929.59],
    2008:[2626.41,3709.78,8701.34,4242.36,4376.19,7158.84,3097.12,4319.75,6085.84,16993.34,11567.42,4198.93,5318.44,3554.81,17571.98,10259.99,5082.07,5028.93,18502.2,3037.74,423.55,3057.78,5823.39,1370.03,2452.75,115.56,3861.12,1470.34,557.12,609.98,2070.76],
    2007:[2509.4,2892.53,7201.88,3454.49,3193.67,5544.14,2475.45,3695.58,5571.06,14471.26,10154.25,3370.96,4476.42,2975.53,14647.53,8282.83,4143.06,3977.72,16004.61,2425.29,364.26,2368.53,4648.79,1124.79,2038.39,98.48,2986.46,1279.32,419.03,455.04,1647.55],
    2006:[2191.43,2457.08,6110.43,2755.66,2374.96,4566.83,1915.29,3365.31,4969.95,12282.89,8511.51,2711.18,3695.04,2419.74,12574.03,6724.61,3365.08,3187.05,13469.77,1878.56,308.62,1871.65,3775.14,967.54,1705.83,80.1,2452.44,1043.19,331.91,351.58,1459.3],
    2005:[2026.51,2135.07,5271.57,2357.04,1773.21,3869.4,1580.83,2971.68,4381.2,10524.96,7164.75,2245.9,3175.92,1917.47,10478.62,5514.14,2852.12,2612.57,11356.6,1510.68,240.83,1564,3067.23,821.16,1426.42,63.52,1951.36,838.56,264.61,281.05,1164.79],
    2004:[1853.58,1685.93,4301.73,1919.4,1248.27,3061.62,1329.68,2487.04,3892.12,8437.99,6250.38,1844.9,2770.49,1566.4,8478.69,4182.1,2320.6,2190.54,9280.73,1253.7,205.6,1376.91,2489.4,681.5,1281.63,52.74,1553.1,713.3,211.7,244.05,914.47],
    2003:[1487.15,1337.31,3417.56,1463.38,967.49,2898.89,1098.37,2084.7,3209.02,6787.11,5096.38,1535.29,2340.82,1204.33,6485.05,3310.14,1956.02,1777.74,7592.78,984.08,175.82,1135.31,2014.8,569.37,1047.66,47.64,1221.17,572.02,171.92,194.27,719.54],
    2002:[1249.99,1069.08,2911.69,1134.31,754.78,2609.85,943.49,1843.6,2622.45,5604.49,4090.48,1337.04,2036.97,941.77,5184.98,2768.75,1709.89,1523.5,6143.4,846.89,148.88,958.87,1733.38,481.96,934.88,32.72,1007.56,501.69,144.51,153.06,603.15]
});
dataMap.dataTI = dataFormatter({
    //max : 25000,
    2011:[12363.18,5219.24,8483.17,3960.87,5015.89,8158.98,3679.91,4918.09,11142.86,20842.21,14180.23,4975.96,6878.74,3921.2,17370.89,7991.72,7247.02,7539.54,24097.7,3998.33,1148.93,3623.81,7014.04,2781.29,3701.79,322.57,4355.81,1963.79,540.18,861.92,2245.12],
    2010:[10600.84,4238.65,7123.77,3412.38,4209.03,6849.37,3111.12,4040.55,9833.51,17131.45,12063.82,4193.69,5850.62,3121.4,14343.14,6607.89,6053.37,6369.27,20711.55,3383.11,953.67,2881.08,6030.41,2177.07,2892.31,274.82,3688.93,1536.5,470.88,702.45,1766.69],
    2009:[9179.19,3405.16,6068.31,2886.92,3696.65,5891.25,2756.26,3371.95,8930.85,13629.07,9918.78,3662.15,5048.49,2637.07,11768.18,5700.91,5127.12,5402.81,18052.59,2919.13,748.59,2474.44,5198.8,1885.79,2519.62,240.85,3143.74,1363.27,398.54,563.74,1587.72],
    2008:[8375.76,2886.65,5276.04,2759.46,3212.06,5207.72,2412.26,2905.68,7872.23,11888.53,8799.31,3234.64,4346.4,2355.86,10358.64,5099.76,4466.85,4633.67,16321.46,2529.51,643.47,2160.48,4561.69,1652.34,2218.81,218.67,2699.74,1234.21,355.93,475,1421.38],
    2007:[7236.15,2250.04,4600.72,2257.99,2467.41,4486.74,2025.44,2493.04,6821.11,9730.91,7613.46,2789.78,3770,1918.95,8620.24,4511.97,3812.34,3835.4,14076.83,2156.76,528.84,1825.21,3881.6,1312.94,1896.78,188.06,2178.2,1037.11,294.91,366.18,1246.89],
    2006:[5837.55,1902.31,3895.36,1846.18,1934.35,3798.26,1687.07,2096.35,5508.48,7914.11,6281.86,2390.29,3022.83,1614.65,7187.26,3721.44,3111.98,3229.42,11585.82,1835.12,433.57,1649.2,3319.62,989.38,1557.91,159.76,1806.36,900.16,249.04,294.78,1058.16],
    2005:[4854.33,1658.19,3340.54,1611.07,1542.26,3295.45,1413.83,1857.42,4776.2,6612.22,5360.1,2137.77,2551.41,1411.92,5924.74,3181.27,2655.94,2882.88,9772.5,1560.92,377.17,1440.32,2836.73,815.32,1374.62,137.24,1546.59,787.36,213.37,259.49,929.41],
    2004:[4092.27,1319.76,2805.47,1375.67,1270,2811.95,1223.64,1657.77,4097.26,5198.03,4584.22,1963.9,2206.02,1225.8,4764.7,2722.4,2292.55,2428.95,8335.3,1361.92,335.3,1229.62,2510.3,661.8,1192.53,123.3,1234.6,688.41,193.7,227.73,833.36],
    2003:[3435.95,1150.81,2439.68,1176.65,1000.79,2487.85,1075.48,1467.9,3404.19,4493.31,3890.79,1638.42,1949.91,1043.08,4112.43,2358.86,2003.08,1995.78,7178.94,1178.25,293.85,1081.35,2189.68,558.28,1013.76,96.76,1063.89,589.91,169.81,195.46,753.91],
    2002:[2982.57,997.47,2149.75,992.69,811.47,2258.17,958.88,1319.4,3038.9,3891.92,3227.99,1399.02,1765.8,972.73,3700.52,1978.37,1795.93,1780.79,6343.94,1074.85,270.96,956.12,1943.68,480.37,914.5,89.56,963.62,514.83,148.83,171.14,704.5]
});
dataMap.dataEstate = dataFormatter({
    //max : 3600,
    2011:[1074.93,411.46,918.02,224.91,384.76,876.12,238.61,492.1,1019.68,2747.89,1677.13,634.92,911.16,402.51,1838.14,987,634.67,518.04,3321.31,465.68,208.71,396.28,620.62,160.3,222.31,17.44,398.03,134.25,29.05,79.01,176.22],
    2010:[1006.52,377.59,697.79,192,309.25,733.37,212.32,391.89,1002.5,2600.95,1618.17,532.17,679.03,340.56,1622.15,773.23,564.41,464.21,2813.95,405.79,188.33,266.38,558.56,139.64,223.45,14.54,315.95,110.02,25.41,60.53,143.44],
    2009:[1062.47,308.73,612.4,173.31,286.65,605.27,200.14,301.18,1237.56,2025.39,1316.84,497.94,656.61,305.9,1329.59,622.98,546.11,400.11,2470.63,348.98,121.76,229.09,548.14,136.15,205.14,13.28,239.92,101.37,23.05,47.56,115.23],
    2008:[844.59,227.88,513.81,166.04,273.3,500.81,182.7,244.47,939.34,1626.13,1052.03,431.27,506.98,281.96,1104.95,512.42,526.88,340.07,2057.45,282.96,95.6,191.21,453.63,104.81,195.48,15.08,193.27,93.8,19.96,38.85,89.79],
    2007:[821.5,183.44,467.97,134.12,191.01,410.43,153.03,225.81,958.06,1365.71,981.42,366.57,511.5,225.96,953.69,447.44,409.65,301.8,2029.77,239.45,67.19,196.06,376.84,93.19,193.59,13.24,153.98,83.52,16.98,29.49,91.28],
    2006:[658.3,156.64,397.14,117.01,136.5,318.54,131.01,194.7,773.61,1017.91,794.41,281.98,435.22,184.67,786.51,348.7,294.73,254.81,1722.07,192.2,44.45,158.2,336.2,80.24,165.92,11.92,125.2,73.21,15.17,25.53,68.9],
    2005:[493.73,122.67,330.87,106,98.75,256.77,112.29,163.34,715.97,799.73,688.86,231.66,331.8,171.88,664.9,298.19,217.17,215.63,1430.37,165.05,38.2,143.88,286.23,76.38,148.69,10.02,108.62,63.78,14.1,22.97,55.79],
    2004:[436.11,106.14,231.08,95.1,73.81,203.1,97.93,137.74,666.3,534.17,587.83,188.28,248.44,167.2,473.27,236.44,204.8,191.5,1103.75,122.52,30.64,129.12,264.3,68.3,116.54,5.8,95.9,56.84,13,20.78,53.55],
    2003:[341.88,92.31,185.19,78.73,61.05,188.49,91.99,127.2,487.82,447.47,473.16,162.63,215.84,138.02,418.21,217.58,176.8,186.49,955.66,100.93,25.14,113.69,231.72,59.86,103.79,4.35,83.9,48.09,11.41,16.85,47.84],
    2002:[298.02,73.04,140.89,65.83,51.48,130.94,76.11,118.7,384.86,371.09,360.63,139.18,188.09,125.27,371.13,199.31,145.17,165.29,808.16,82.83,21.45,90.48,210.82,53.49,95.68,3.42,77.68,41.52,9.74,13.46,43.04]
});
dataMap.dataFinancial = dataFormatter({
    //max : 3200,
    2011:[2215.41,756.5,746.01,519.32,447.46,755.57,207.65,370.78,2277.4,2600.11,2730.29,503.85,862.41,357.44,1640.41,868.2,674.57,501.09,2916.13,445.37,105.24,704.66,868.15,297.27,456.23,31.7,432.11,145.05,62.56,134.18,288.77],
    2010:[1863.61,572.99,615.42,448.3,346.44,639.27,190.12,304.59,1950.96,2105.92,2326.58,396.17,767.58,241.49,1361.45,697.68,561.27,463.16,2658.76,384.53,78.12,496.56,654.7,231.51,375.08,27.08,384.75,100.54,54.53,97.87,225.2],
    2009:[1603.63,461.2,525.67,361.64,291.1,560.2,180.83,227.54,1804.28,1596.98,1899.33,359.6,612.2,165.1,1044.9,499.92,479.11,402.57,2283.29,336.82,65.73,389.97,524.63,194.44,351.74,23.17,336.21,88.27,45.63,75.54,198.87],
    2008:[1519.19,368.1,420.74,290.91,219.09,455.07,147.24,177.43,1414.21,1298.48,1653.45,313.81,497.65,130.57,880.28,413.83,393.05,334.32,1972.4,249.01,47.33,303.01,411.14,151.55,277.66,22.42,287.16,72.49,36.54,64.8,171.97],
    2007:[1302.77,288.17,347.65,218.73,148.3,386.34,126.03,155.48,1209.08,1054.25,1251.43,223.85,385.84,101.34,734.9,302.31,337.27,260.14,1705.08,190.73,34.43,247.46,359.11,122.25,168.55,11.51,231.03,61.6,27.67,51.05,149.22],
    2006:[982.37,186.87,284.04,169.63,108.21,303.41,100.75,74.17,825.2,653.25,906.37,166.01,243.9,79.75,524.94,219.72,174.99,204.72,899.91,129.14,16.37,213.7,299.5,89.43,143.62,6.44,152.25,50.51,23.69,36.99,99.25],
    2005:[840.2,147.4,213.47,135.07,72.52,232.85,83.63,35.03,675.12,492.4,686.32,127.05,186.12,69.55,448.36,181.74,127.32,162.37,661.81,91.93,13.16,185.18,262.26,73.67,130.5,7.57,127.58,44.73,20.36,32.25,80.34],
    2004:[713.79,136.97,209.1,110.29,55.89,188.04,77.17,32.2,612.45,440.5,523.49,94.1,171,65.1,343.37,170.82,118.85,118.64,602.68,74,11.56,162.38,236.5,60.3,118.4,5.4,90.1,42.99,19,27.92,70.3],
    2003:[635.56,112.79,199.87,118.48,55.89,145.38,73.15,32.2,517.97,392.11,451.54,87.45,150.09,64.31,329.71,165.11,107.31,99.35,534.28,61.59,10.68,147.04,206.24,48.01,105.48,4.74,77.87,42.31,17.98,24.8,64.92],
    2002:[561.91,76.86,179.6,124.1,48.39,137.18,75.45,31.6,485.25,368.86,347.53,81.85,138.28,76.51,310.07,158.77,96.95,92.43,454.65,35.86,10.08,134.52,183.13,41.45,102.39,2.81,67.3,42.08,16.75,21.45,52.18]
});

+ 18 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/data-formatter.js

@ -0,0 +1,18 @@
var dataMap = {};
function dataFormatter(obj) {
    var pList = ['北京','天津','河北','山西','内蒙古','辽宁','吉林','黑龙江','上海','江苏','浙江','安徽','福建','江西','山东','河南','湖北','湖南','广东','广西','海南','重庆','四川','贵州','云南','西藏','陕西','甘肃','青海','宁夏','新疆'];
    var temp;
    var max = 0;
    for (var year in obj) {
        temp = obj[year];
        for (var i = 0, l = temp.length; i < l; i++) {
            max = Math.max(max, temp[i]);
            obj[year][i] = {
                name : pList[i],
                value : temp[i]
            }
        }
        obj[year+'max'] = Math.floor(max/100) * 100;
    }
    return obj;
}

+ 249 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/djws.js

@ -0,0 +1,249 @@
//经济指标命名映射
var eNameMap = {
    'GDP' : 'GDP',
    'Financial' : '金融',
    'Estate' : '房地产',
    'PI' : '第一产业',
    'SI' : '第二产业',
    'TI' : '第三产业'
};
//颜色映射
var eColorMap = {
    'GDP' : '#1e90ff',
    'Financial' : '#ff7f50',
    'Estate' : '#da70d6',
    'PI' : '#32cd32',
    'SI' : '#6495ed',
    'TI' : '#ff69b4'
};
//---------
var developMode = false;
if (developMode) {
    window.esl = null;
    window.define = null;
    window.require = null;
    (function () {
        var script = document.createElement('script');
        script.async = true;
        var pathname = location.pathname;
        var pathSegs = pathname.slice(pathname.indexOf('doc')).split('/');
        var pathLevelArr = new Array(pathSegs.length - 1);
        script.src = pathLevelArr.join('../') + 'asset/js/esl/esl.js';
        if (script.readyState) {
            script.onreadystatechange = fireLoad;
        }
        else {
            script.onload = fireLoad;
        }
        (document.getElementsByTagName('head')[0] || document.body).appendChild(script);
        
        function fireLoad() {
            script.onload = script.onreadystatechange = null;
            setTimeout(loadedListener,100);
        }
        function loadedListener() {
            // for develop
            require.config({
                packages: [
                    {
                        name: 'echarts',
                        location: '../../../../src',
                        main: 'echarts'
                    },
                    {
                        name: 'zrender',
                        //location: 'http://ecomfe.github.io/zrender/src',
                        location: '../../../../../zrender/src',
                        main: 'zrender'
                    }
                ]
            });
            launchExample();
        }
    })();
}
else {
    require.config({
        paths: {
            echarts: '../../www/js'
        }
    });
    launchExample();
}
var EC_READY = false;
var myChart0;
var isExampleLaunched;
function launchExample() {
    if (isExampleLaunched) {
        return;
    }
    // 按需加载
    isExampleLaunched = 1;
    require(
        [
            'echarts',
            'echarts/chart/line',
            'echarts/chart/bar',
            'echarts/chart/scatter',
            //'echarts/chart/k',
            'echarts/chart/pie',
            'echarts/chart/radar',
            //'echarts/chart/force',
            //'echarts/chart/chord',
            'echarts/chart/map'
        ],
        function (ec) {
            EC_READY = true;
            myChart0 = ec.init(document.getElementById('g0')).setOption(option0()); 
            showTabContent(1);
        }
    );
}
var curTabIdx = 1;
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
    // e.target // activated tab
    // e.relatedTarget // previous tab
    if (!EC_READY) {
        return;
    }
    hideTabContent(curTabIdx);
    curTabIdx = e.target.id.replace('tab','');
    showTabContent(curTabIdx);
});
var curYear = '2002';
$('button').on('click', function (e) {
    $('#' + curYear)[0].className = 'btn btn-info';
    curYear = e.target.id;
    $('#' + curYear)[0].className = 'btn btn-success';
    showTabContent(curTabIdx);
});
var curEIndex = 'GDP';
$('input:radio[name="optionsRadios"]').on('change', function (e) {
    curRange = false;
    curEIndex = e.target.value;
    showTabContent(curTabIdx);
});
var functionMap = {};
function showTabContent(idx) {
    functionMap['chart' + idx](idx);
}
function hideTabContent(idx) {
    functionMap['chart' + idx + 'dispose'](idx);
}
// last chart
var myChart3;
var curSelected = {
    'GDP' : true,
    '金融' : false,
    '房地产' : true,
    '第一产业' : false,
    '第二产业' : false,
    '第三产业' : false
};
functionMap.chart3 = function (idx) {
    functionMap.chart3dispose(idx);
    myChart3 = require('echarts').init(document.getElementById('g' + idx));
    myChart3.setOption(option1(curSelected));
    // 图例状态保持
    myChart3.on(require('echarts/config').EVENT.LEGEND_SELECTED, function (param){
        curSelected = param.selected;
    });
}
functionMap.chart3dispose = function () {
    if (myChart3) {
        myChart3.dispose();
        myChart3 = false;
    }
}
// second chart
var myChart20;
var myChart21;
var myChart22;
var myChart23;
var myChart24;
var myChart25;
functionMap.chart2 = function (idx) {
    functionMap.chart2dispose(idx);
    var ec = require('echarts');
    myChart20 = ec.init(document.getElementById('g20'));
    myChart21 = ec.init(document.getElementById('g21'));
    myChart22 = ec.init(document.getElementById('g22'));
    myChart23 = ec.init(document.getElementById('g23'));
    myChart24 = ec.init(document.getElementById('g24'));
    myChart25 = ec.init(document.getElementById('g25'));
    
    myChart20.setOption(option2('GDP'));
    myChart21.setOption(option2('Financial'));
    myChart22.setOption(option2('Estate'));
    myChart23.setOption(option2('PI'));
    myChart24.setOption(option2('SI'));
    myChart25.setOption(option2('TI'));
}
functionMap.chart2dispose = function () {
    if (myChart20) {
        myChart20.dispose();
        myChart21.dispose();
        myChart22.dispose();
        myChart23.dispose();
        myChart24.dispose();
        myChart25.dispose();
        myChart20 = false; 
        myChart21 = false;
        myChart22 = false;
        myChart23 = false;
        myChart24 = false;
        myChart25 = false;
    }
}
// first chart
var myChart1;
var curRange = false;
functionMap.chart1 = function (idx) {
    functionMap.chart1dispose(idx);
    myChart1 = require('echarts').init(document.getElementById('g' + idx));
    myChart1.setOption(option3(curEIndex));
}
functionMap.chart1dispose = function () {
    if (myChart1) {
        myChart1.dispose();
        myChart1 = false; 
    }
}
var resizeTicket;
window.onload = function () {
    window.onresize = function () {
        clearTimeout(resizeTicket);
        resizeTicket = setTimeout(function (){
            myChart0.resize();
            if (curTabIdx == 1) {
                myChart1.resize();
            }
            else if (curTabIdx == 2) {
                myChart20.resize();
                myChart21.resize();
                myChart22.resize();
                myChart23.resize();
                myChart24.resize();
                myChart25.resize();
            }
            else {
                
                myChart3.resize();
            }
        },200);
    }
}

+ 169 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/option0.js

@ -0,0 +1,169 @@
function option0 () {
    return {
        title : {
            text: '2011全国GDP',
            subtext: '数据来自国家统计局',
            x:'right',
            y: 'top'
        },
        tooltip : {
            trigger: 'item'
        },
        dataRange: {
            min: 600,
            max: 60000,
            orient: 'horizontal',
            color:['red','yellow'],
            text:['高','低'],           // 文本,默认为数值文本
            calculable : true,
            x: 'center',
            y: 'bottom',
            textStyle: {
                color: 'orange'
            }
        },
        toolbox: {
            show : true,
            //orient : 'vertical',
            x: 'left',
            y: 'top',
            feature : {
                mark : {show: true},
                dataView : {show: true, readOnly: false},
                restore : {show: true},
                saveAsImage : {show: true}
            }
        },
        grid:{
            x: 50,
            x2: 200,
            y2: 10,
            borderWidth:0
        },
        xAxis : [
            {
                type : 'value',
                position: 'top',
                name: '(亿元)',
                splitLine: {show:false},
                boundaryGap : [0, 0.01]
            }
        ],
        yAxis : [
            {
                type : 'category',
                splitLine: {show:false},
                axisLabel: {
                    interval:0
                },
                data : ['西藏','青海','宁夏','海南','甘肃','贵州','新疆','云南','重庆','吉林','山西','天津','江西','广西','陕西','黑龙江','内蒙古','安徽','北京','福建','上海','湖北','湖南','四川','辽宁','河北','河南','浙江','山东','江苏','广东']
            }
        ],
        series : [
            {
                name: '2011全国GDP',
                type: 'map',
                mapType: 'china',
                itemSdtyle:{
                    normal:{label:{show:true}}
                },
                mapLocation: {
                    x: 'right',
                    y: 80
                },
                data:[
                    {name:'西藏', value:605.83},
                    {name:'青海', value:1670.44},
                    {name:'宁夏', value:2102.21},
                    {name:'海南', value:2522.66},
                    {name:'甘肃', value:5020.37},
                    {name:'贵州', value:5701.84},
                    {name:'新疆', value:6610.05},
                    {name:'云南', value:8893.12},
                    {name:'重庆', value:10011.37},
                    {name:'吉林', value:10568.83},
                    {name:'山西', value:11237.55},
                    {name:'天津', value:11307.28},
                    {name:'江西', value:11702.82},
                    {name:'广西', value:11720.87},
                    {name:'陕西', value:12512.3},
                    {name:'黑龙江', value:12582},
                    {name:'内蒙古', value:14359.88},
                    {name:'安徽', value:15300.65},
                    {name:'北京', value:16251.93},
                    {name:'福建', value:17560.18},
                    {name:'上海', value:19195.69},
                    {name:'湖北', value:19632.26},
                    {name:'湖南', value:19669.56},
                    {name:'四川', value:21026.68},
                    {name:'辽宁', value:22226.7},
                    {name:'河北', value:24515.76},
                    {name:'河南', value:26931.03},
                    {name:'浙江', value:32318.85},
                    {name:'山东', value:45361.85},
                    {name:'江苏', value:49110.27},
                    {name:'广东', value:53210.28}
                ]
            },
            {
                type: 'bar',
                itemStyle : {
                    normal : {
                        color : (function (){
                            var zrColor = require('zrender/tool/color');
                            return zrColor.getLinearGradient(
                                0, 80, 0, 500,
                                [[0, 'red'],[0.2, 'orange'],[1, 'yellow']]
                            )
                        })(),
                        label : {
                            show : false
                        }
                    },
                    emphasis : {
                        label : {
                            show : true,
                            textStyle : {
                                color : 'orange',
                                fontWeight : 'bold'
                            }
                        }
                    }
                },
                data:[
                    {name:'西藏', value:605.83},
                    {name:'青海', value:1670.44},
                    {name:'宁夏', value:2102.21},
                    {name:'海南', value:2522.66},
                    {name:'甘肃', value:5020.37},
                    {name:'贵州', value:5701.84},
                    {name:'新疆', value:6610.05},
                    {name:'云南', value:8893.12},
                    {name:'重庆', value:10011.37},
                    {name:'吉林', value:10568.83},
                    {name:'山西', value:11237.55},
                    {name:'天津', value:11307.28},
                    {name:'江西', value:11702.82},
                    {name:'广西', value:11720.87},
                    {name:'陕西', value:12512.3},
                    {name:'黑龙江', value:12582},
                    {name:'内蒙古', value:14359.88},
                    {name:'安徽', value:15300.65},
                    {name:'北京', value:16251.93},
                    {name:'福建', value:17560.18},
                    {name:'上海', value:19195.69},
                    {name:'湖北', value:19632.26},
                    {name:'湖南', value:19669.56},
                    {name:'四川', value:21026.68},
                    {name:'辽宁', value:22226.7},
                    {name:'河北', value:24515.76},
                    {name:'河南', value:26931.03},
                    {name:'浙江', value:32318.85},
                    {name:'山东', value:45361.85},
                    {name:'江苏', value:49110.27},
                    {name:'广东', value:53210.28}
                ]
            }
        ]
    };
}

+ 180 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/option1.js

@ -0,0 +1,180 @@
function option1 (curSelected) {
    var option = {
        color: ['#87cefa','#ff7f50','#da70d6','#32cd32','#6495ed',
                '#ff69b4','#ba55d3','#cd5c5c','#ffa500','#40e0d0',
                '#1e90ff','#ff6347','#7b68ee','#00fa9a','#ffd700',
                '#6699FF','#ff6666','#3cb371','#b8860b','#30e0e0'],
        title : {
            subtext: '数据来自国家统计局'
        },
        tooltip : {
            trigger: 'axis'
        },
        legend: {
            data : ['GDP','金融','房地产','第一产业','第二产业','第三产业'],
            selected : curSelected
        },
        toolbox: {
            show : true,
            feature : {
                mark : {show: true},
                dataView : {show: true, readOnly: false},
                magicType : {show: true, type: ['line', 'bar', 'stack', 'tiled']},
                restore : {show: true},
                saveAsImage : {show: true}
            }
        },
        calculable : true,
        grid : {
            y : 80,
            y2 : 100,
        },
        xAxis : [
            {
                type : 'category',
                axisLabel: {
                    interval: 0
                },
                data : [
                    '北京','\n天津','河北','\n山西','内蒙古','\n辽宁',
                    '吉林','\n黑龙江','上海','\n江苏','浙江','\n安徽',
                    '福建','\n江西','山东','\n河南','湖北','\n湖南',
                    '广东','\n广西','海南','\n重庆','四川','\n贵州',
                    '云南','\n西藏','陕西','\n甘肃','青海','\n宁夏','新疆'
                ]
            }
        ],
        yAxis : [
            {
                type : 'value',
                name : 'GDP(亿元)',
                max: 53500,
                splitArea : {show : true}
            },
            {
                type : 'value',
                name : '其他(亿元)',
                splitArea : {show : true}
            }
        ],
        series : [
            {
                name:'GDP',
                _name: 'GDP',
                type:'bar',
                markLine: {
                    symbol : ['arrow','none'],symbolSize : [4, 2],itemStyle : {normal: {
                        lineStyle: {color:'orange'},
                        borderColor:'orange',
                        label:{position:'left',formatter:function(params){return Math.round(params.value)},
                        textStyle:{color:"orange"}
                    }}},
                    data : [
                        {type : 'average', name : '平均值'}
                    ]
                }
            },
            {
                name:'金融',
                _name: 'Financial',
                yAxisIndex: 1,
                type:'bar'
            },
            {
                name:'房地产',
                _name: 'Estate',
                yAxisIndex: 1,
                type:'bar'
            },
            {
                name:'第一产业',
                _name: 'PI',
                yAxisIndex: 1,
                type:'bar'
            },
            {
                name:'第二产业',
                _name: 'SI',
                yAxisIndex: 1,
                type:'bar'
            },
            {
                name:'第三产业',
                _name: 'TI',
                yAxisIndex: 1,
                type:'bar'
            }
        ]
    };
    
    var timelineOption = {
        timeline : {
            data : (function(){
                var a = [];
                for (var i = 2002; i <= 2011; i++) {
                    a.push(i + '-01-01');
                }
                return a;
            })(),
            label : {
                formatter : function(s) {
                    return s.slice(0, 4);
                }
            },
            playInterval : 1000
        },
        options : []
    };
    
    var curYear = 2002;
    option.title.text = curYear + '全国宏观经济指标'
    for (var i = 0, l = option.series.length; i < l; i++) {
        option.series[i].data =  dataMap['data' + option.series[i]._name][curYear]
    }
    timelineOption.options.push(option);
    
    for (curYear = 2003; curYear <= 2011; curYear++) {
        var newSeries = [
                {
                    name:'GDP',
                    _name: 'GDP'
                },
                {
                    name:'金融',
                    _name: 'Financial',
                    yAxisIndex: 1
                },
                {
                    name:'房地产',
                    _name: 'Estate',
                    yAxisIndex: 1
                },
                {
                    name:'第一产业',
                    _name: 'PI',
                    yAxisIndex: 1
                },
                {
                    name:'第二产业',
                    _name: 'SI',
                    yAxisIndex: 1
                },
                {
                    name:'第三产业',
                    _name: 'TI',
                    yAxisIndex: 1
                }
            ];
        
        for (var i = 0, l = newSeries.length; i < l; i++) {
            newSeries[i].data =  dataMap['data' + newSeries[i]._name][curYear]
        }
        timelineOption.options.push({
            title : {
                text : curYear + '全国宏观经济指标'
            },
            series : newSeries
        })
    }
    return timelineOption;
}

+ 43 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/option2.js

@ -0,0 +1,43 @@
function option2 (name) {
    var option = {
        title : {
            x: 'center',
            y: 'top',
            textStyle:{
                fontSize: 14
            }
        },
        tooltip : {
            trigger: 'item'
        },
        dataRange: {
            min: 0,
            itemWidth:8,
            itemGap: 5,
            x: 'left',
            y: 'bottom'
        },
        series : [
            {
                type: 'map',
                mapType: 'china'
            }
        ]
    };
    var color = eColorMap[name];
    option.title.text = eNameMap[name] + ' (亿元)';
    option.title.textStyle.color = color;
    option.dataRange.color = [
        color, 
        require('zrender/tool/color').lift(color, -0.9)
    ];
    option.dataRange.max = dataMap['data' + name][curYear + 'max'];
    
    for (var i = 0, l = option.series.length; i < l; i++) {
        option.series[i].name = eNameMap[name] + '(' + curYear + ')';
        option.series[i].data = 
            dataMap['data' + name][curYear]
    }
    
    return option;
}

+ 82 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/10-me-china/js/option3.js

@ -0,0 +1,82 @@
function option3 (name) {
    var option = {
        title : {
            text: 'GDP',
            subtext: '数据来自国家统计局',
            x:'right',
            textStyle:{}
        },
        tooltip : {
            trigger: 'item'
        },
        dataRange: {
            min: 0,
            max : dataMap['dataA' + name][2011 + 'max'],
            text:['高','低'],           // 文本,默认为数值文本
            calculable : true,
            x: 'left'
        },
        series : [
            {
                type: 'map',
                mapType: 'china',
                mapLocation: {
                    y: 'top',
                    height : 340
                },
                itemStyle:{
                    normal:{label:{show:true}}
                }
            }
        ]
    };
    
    option.title.text = '人均' + eNameMap[name];
    var color = eColorMap[name];
    option.title.textStyle.color = color;
    option.dataRange.color = [
        color, 
        require('zrender/tool/color').lift(color, -0.9)
    ];
    // console.log(option.dataRange.color,name)
    
    var timelineOption = {
        timeline : {
            data : (function(){
                var a = [];
                for (var i = 2002; i <= 2011; i++) {
                    a.push(i + '-01-01');
                }
                return a;
            })(),
            label : {
                formatter : function(s) {
                    return s.slice(0, 4);
                }
            },
            playInterval : 1000
        },
        options : []
    };
    
    var curYear = 2002;
    option.series[0].name = '人均' + eNameMap[name] + '(' + curYear + ')';
    option.series[0].data =  dataMap['dataA' + name][curYear]
    
    timelineOption.options.push(option);
    for (curYear = 2003; curYear <= 2011; curYear++) {
        var newSeries = {
                type: 'map',
                mapType: 'china',
                itemStyle:{
                    normal:{label:{show:true}}
                }
            };
        newSeries.name = '人均' + eNameMap[name] + '(' + curYear + ')';
        newSeries.data =  dataMap['dataA' + name][curYear]
        timelineOption.options.push({
            series : [newSeries]
        })
    }
    return timelineOption;
}

+ 255 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/24-population-china/index.html

@ -0,0 +1,255 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="../../../asset/ico/favicon.png">
<title>中国人口流动大潮</title>
<style type="text/css">
* {
    font-family: "Microsoft YaHei" !important;
}
h1 {
    font-family: "Microsoft YaHei";
    font-weight: bold;
    color: #FFF;
    background-color: #000;
    border: 5px none #000;
    background-image: url(../../../asset/img/tweed.png);
    background-repeat: repeat;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-top: 15px;
}
p {
    padding: 0 15px;
}
    
.select_box {
    border-top-width: 1px;
    border-top-style: dashed;
    border-top-color: #699;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    padding-left: 15px;
}
body {
    background-image: url(../../../asset/img/ticks.png);
    background-repeat: repeat;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
#main{
    background-image: url(../../../asset/img/groovepaper.png);
    background-repeat: repeat;    
    }
.footer {
    height: 100px;
    background-image: url(../../../asset/img/tweed.png);
    background-repeat: repeat;
    font-family: "Microsoft YaHei";
    font-size: 14px;
    color: #CCC;
    text-align: center;
    padding-top: 1px;
}
.footer a:hover {
    color:#62C462
}
</style>
</head>
<body>
<h1>中国人口流动大潮1987-2011(单位:万人)</h1>
<p>自上世纪90年代以来,随着中国社会经济的发展和城市化进程的加快,人口的迁移和移动已经愈发频繁。国家统计局公布的数据显示,2012年我国流动人口数量达2.36亿人,相当于每六个人中有一个是流动人口。</p>
<p>探讨的流动人口,是指以中国城乡二元社会结构和特有的户籍政策为前提,其就业、生活或学习所在地与其户籍所在地处于分离状态的人口,它与其他国家的人口自由迁移现象存在着差异。
中国人口的大规模流动,是自20世纪80年代改革开放以来随着农村户籍居民离开本乡本土进城或外出务工而出现的社会现象,它表现出明显的中国时代特色:</p>
<div class="select_box"><form id="form1" name="form1" method="post" action="">
  <label for="year">请选择年份</label>
  <select name="year" id="year">
    <option>1987</option>
    <option>1988</option>
    <option>1989</option>
    <option>1990</option>
    <option>1991</option>
    <option>1992</option>
    <option>1993</option>
    <option>1994</option>
    <option>1995</option>
    <option>1996</option>
    <option>1997</option>
    <option>1998</option>
    <option>1999</option>
    <option>2000</option>
    <option>2001</option>
    <option>2002</option>
    <option>2003</option>
    <option>2004</option>
    <option>2005</option>
    <option>2006</option>
    <option>2007</option>
    <option>2008</option>
    <option>2009</option>
    <option>2010</option>
    <option selected="selected">2011</option>
  </select>
</form></div>
<div id="main" style="height:500px;border:1px solid #ccc;padding:20px;"></div>
    <script src="../../www/js/echarts.js"></script>
    <script src="js/data-people.js"></script>
    <script type="text/javascript">
    require.config({
        paths:{ 
            echarts: '../../www/js'
        }
    });
    var myChart;
    var colorList;
    require(
        [
            'echarts',
            'echarts/chart/bar',
            'echarts/chart/line',
            'echarts/chart/map'
        ],
        function (ec) {
            colorList = require('zrender/tool/color').getGradientColors(
                ['red','yellow','lightskyblue'], 10
            );
            //console.log(colorList)
            myChart = ec.init(document.getElementById('main'));
            //myChart.setOption(option);
            yearSelector.onchange();
            window.onresize = myChart.resize;
            var ecConfig = require('echarts/config');
            myChart.on(ecConfig.EVENT.MAP_SELECTED, mapSelected);
        }
    );
    
    var selected;
    function mapSelected(param){
        selected = param.selected;
        var mapSeries = option.series[0];
        var data = [];
        var legendData = [];
        var legendData = [];
        var name;
        option.series = option.series.slice(0,1);
        for (var p = 0, len = mapSeries.data.length; p < len; p++) {
            name = mapSeries.data[p].name;
            mapSeries.data[p].selected = selected[name];
            if (selected[name]) {
                //option.yAxis[0].name = name + ' 人口流动情况';
                var tarIdx;
                for (var i = 0, l = pList.length; i < l; i++) {
                    if (pList[i] == name) {
                        tarIdx = i;
                        break;
                    }
                }
                for (var i = 1987; i <= 2011; i++) {
                    data.push(dataPeople[i][tarIdx]);
                }
                option.series.push({
                    name : name,
                    type:'line',
                    tooltip: {
                        trigger: 'axis'
                    },
                    data: data
                });
                legendData.push(name);
                data = [];
            }
        }
        //option.series[1].data = data;
        option.legend.data = legendData;
        myChart.setOption(option, true);
    }
    
    var yearSelector = document.getElementById('year');
    yearSelector.onchange = function (e){
        var curYear = yearSelector.selectedOptions[0].innerHTML;
        option.title.text = '中国人口流动图示 (' + curYear + ')';
        var max = dataPeople[curYear + 'max'];
        var min = dataPeople[curYear + 'min'];
        var gap = (max - min) / 5;
        /*
        var legendData = [
            Math.round(min + 4 * gap) + '以上',
            Math.round(min + 3 * gap) + ' ~' + Math.round(min + 4 * gap),
            Math.round(min + 2 * gap) + ' ~' + Math.round(min + 3 * gap),
            Math.round(min + gap) + ' ~' + Math.round(min + 2 * gap),
            Math.round(min + gap) + '以下',
        ];
        option.legend.data = legendData;
        */
        option.dataRange.max = max;
        option.dataRange.min = min;
        if (min >= 0) {
            //双正
            option.dataRange.color = [colorList[0], colorList[10]];
            /*
            option.color = require('zrender/tool/color').getStepColors(
                colorList[0], colorList[10], 5
            )
            */
            //option.color = [colorList[0], colorList[2], colorList[4], colorList[7], colorList[10]];
        }
        else if (max >= 0 && min <= 0) {
            //正负
            var first = Math.round(10 - max / (max - min) * 10);
            var end = Math.round(min / (min - max) * 10 + 10);
            option.dataRange.color = [
                colorList[first], 
                colorList[Math.round((end - first) / 2 + first)],
                colorList[end]
            ];
            //console.log(first,end);
            /*
            option.color = [
                colorList[first], colorList[first + 2], 
                option.dataRange.color[1], 
                colorList[end - 2], colorList[end]
            ];
            */
        }
        else {
            //双负
            option.dataRange.color = [colorList[11], colorList[20]];
            /*
            option.color = require('zrender/tool/color').getStepColors(
                colorList[11], colorList[20], 5
            )
            */
            //option.color = [colorList[11], colorList[13], colorList[15], colorList[17], colorList[20]];
        }
        //console.log(option.color,option.dataRange.color)
        
        option.series[0].data = dataPeople[curYear];
        /*
        for (var i = 0; i <= 4; i++) {
            option.series[i + 1].name = legendData[i];
        }
        */
        if (selected) {
            mapSelected({selected:selected});
        }
        else{
            myChart.setOption(option, true);
        }
    }
    </script>
<div class="footer">
    <p>&copy; 2014 Data Journalism Workshop(华媒基金会 &middot; 数据新闻工作坊) &middot; 孟立昕(腾讯)&middot; 王飞宇(证券时报) &middot; 颜冬(视觉中国) &middot; <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度)</p> 
    <p><a href="http://echarts.baidu.com" target="_blank">Data Visualization by ECharts</a></p>
</div>
</body>
</html>

+ 149 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/24-population-china/js/data-people.js

@ -0,0 +1,149 @@
function dataFormatter(obj) {
    var temp;
    var max = 0;
    var min = 0;
    for (var year in obj) {
        temp = obj[year];
        for (var i = 0, l = temp.length; i < l; i++) {
            max = Math.max((temp[i] == '-' ?0:temp[i]), max);
            min = Math.min((temp[i] == '-' ?0:temp[i]), min);
            obj[year][i] = {
                name : pList[i],
                value : temp[i]
            }
        }
        obj[year+'max'] = Math.ceil(max / 100) * 100;
        obj[year+'min'] = Math.floor(min / 100) * 100;
    }
    return obj;
}
var pList = [
         '北京','天津','河北','山西','内蒙古','辽宁','吉林','黑龙江',
         '上海','江苏','浙江','安徽','福建','江西','山东','河南','湖北',
         '湖南','广东','广西','海南','重庆','四川','贵州','云南','西藏',
         '陕西','甘肃','青海','新疆','宁夏'
    ];
var dataPeople = dataFormatter({
    1987:[54.385,-3.7215,14.2049,67.2978,12.8015,0.0364,0.0017,60.0185,0.0013,-0.0088,-0.0021,0.3783,74.4804,73.358,68.5216,214.5266,62.1894,0.0035,-515.4337,-0.3961,615.08,0.00,-2845.1717,21.1903,21.0012,1E-04,-0.1941,12.3201,10.3655,971.1747,-971.1667 ],
    1988:[57.1491,-4.2217,3.1205,75.8062,10.8571,-0.0394,-0.0036,64.4743,0.0013,0.0027,0.0041,-0.0644,83.7506,50.4412,51.8223,237.1979,40.6486,-0.0079,138.5266,-0.0722,-0.6382,0.00,-2873.3272,-16.6705,11.3674,0.004,-0.0343,12.4604,12.661,981.8884,-981.8935],
    1989:[50.29,-4.5993,-7.3556,78.5695,9.6678,-0.0442,0.0102,67.6278,0.0002,-0.0188,0.005,-0.2444,94.9497,51.0692,-20.8574,259.8603,34.9442,-0.001,179.9817,0.0809,0.4062,0.00,-2897.0608,-13.0481,5.7817,-0.0027,0.0143,14.0836,12.9175,999.3519,-999.3504],
    1990:[50.2859,-4.2069,42.2014,53.7355,13.1682,-0.0483,0.0288,54.1539,-0.002,95.171,3.0887,0.2922,37.1807,49.218,69.4372,84.5741,65.7441,0.3187,100.8657,0.3798,11.5363,0.00,-2920.8799,30.5574,36.0878,3.418,40.981,24.7647,12.8175,1063.4826,-1033.0436],
    1991:[51.0951,-3.9216,36.8404,58.5051,19.1136,-0.0199,0.0079,64.2971,-0.0048,109.8266,8.1255,0.0124,39.9098,62.7092,36.0235,76.013,65.5016,-0.6381,178.063,29.5051,12.6283,0.00,-2938.9688,43.2298,47.4105,3.2455,53.0692,26.9077,14.9817,1080.6909,-1054.1512],
    1992:[53.2555,-3.7515,25.6707,60.2343,28.0514,0.0466,-0.0149,81.8314,0.0014,143.7108,18.4853,-0.4827,49.1473,86.0625,30.2203,49.5142,66.2012,-1.4657,243.2811,20.6362,15.0762,0.00,-2950.7421,59.9873,64.4504,3.2634,64.7113,26.0655,17.9637,1098.3603,-1071.8704],
    1993:[55.0697,-3.739,24.3862,57.0988,34.3876,0.0199,0.0248,101.1494,-0.0046,166.5805,21.5027,-0.0093,50.832,108.8473,21.5901,31.357,63.0162,-2.4158,355.0892,29.2036,19.2196,0.00,-2964.971,76.3891,83.0642,3.3432,73.2626,26.6638,20.3808,1114.4018,-1086.2439],
    1994:[56.8153,-3.9691,22.0478,54.2695,43.1379,-0.0421,-0.0135,114.363,0.0041,189.2624,22.5009,0.0879,56.1322,121.6964,18.3728,21.9762,62.0394,-3.3118,518.1241,37.9459,19.9997,0.00,-2985.6499,77.8287,102.1114,4.1551,79.435,34.8047,22.9523,1128.8318,-1101.4292],
    1995:[174.02,43.4236,16.5327,51.336,46.7893,58.0059,41.1343,124.1584,113.6261,197.5796,-50.6263,13.4337,72.374,124.4112,3.8379,-8.8492,44.8748,35.2568,598.7517,40.8899,21.5759,0.00,162.0639,88.5427,116.5043,4.446,82.0673,49.6152,24.751,1148.6155,-1124.2688],
    1996:[175.7699,45.5737,22.9662,49.7874,43.9981,59.216,30.8628,122.8962,114.5701,201.867,-57.0909,16.0165,50.3901,123.9676,-9.0477,-31.0568,48.6335,24.148,673.0064,43.4959,19.942,0.00,191.7666,95.8653,132.6151,4.7001,85.3145,39.1666,25.3501,1167.7901,-1154.5646],
    1997:[147.721,47.8868,16.8914,49.7127,37.4781,60.8626,27.8545,122.469,151.5376,199.6431,12.7158,17.783,44.8654,124.0067,175.2907,-49.7248,34.1717,20.8802,765.9638,44.5077,18.4711,-0.9164,165.3035,110.3146,149.4077,5.2643,87.3234,37.3613,29.5188,1189.0599,-1175.8071],
    1998:[148.2413,46.2594,13.6937,58.666,34.8051,66.5906,40.7652,130.9915,157.4155,198.9067,9.1442,31.8303,38.1807,120.3532,-33.5112,-58.6583,16.4163,19.8222,874.385,52.8062,19.691,0.3138,177.316,121.0629,160.6607,6.6131,94.9251,35.3631,32.6563,1210.4334,-1195.5965],
    1999:[150.8017,42.8335,11.8421,58.9192,32.4636,67.7656,41.9,131.1575,160.8796,203.914,7.5393,31.4845,32.4022,113.9748,-38.6648,-59.3428,-4.4899,11.3728,919.0251,55.3521,18.7876,2.6601,191.4441,128.0141,173.6112,8.2805,98.8471,35.5543,36.758,1230.7109,-1220.3656],
    2000:[243.4737,82.2894,3.0707,51.8206,71.0536,48.6559,54.7429,108.8937,319.3676,257.7226,94.7841,7.6462,105.3683,-15.4693,22.5377,-38.5066,24.0103,46.5345,1151.4896,26.39,28.0612,0.9097,194.5295,79.0863,164.3817,6.7659,71.8319,23.3492,36.584,1294.6786,-1237.5459],
    2001:[255.107,80.2525,-3.4876,51.7132,57.7746,46.9634,53.8989,95.6021,286.865,257.9968,93.1603,2.7738,119.0279,-25.9819,16.9878,-48.1747,18.3236,56.1682,1167.8538,30.0477,26.5011,-0.9137,203.3784,88.3083,180.3253,9.2999,69.4945,24.3236,39.5324,1310.0462,-1260.8746],
    2002:[280.1698,80.0133,-6.7155,48.5457,44.0791,47.569,49.6115,80.9504,290.7745,253.6751,111.0193,-30.9508,133.645,-40.9685,12.6844,-69.7571,9.7805,64.8038,1192.7873,30.6353,24.1105,-6.8236,198.5424,89.6025,192.0175,11.5577,63.3516,25.1551,41.8997,1332.4624,-1288.4158],
    2003:[301.9367,78.8371,-12.8295,45.858,30.4388,48.4016,45.3478,91.4371,369.231,242.0732,128.4163,-0.245,138.335,-48.3326,16.5379,-101.2709,1.4659,63.7985,1239.2665,26.9465,20.7418,-0.1032,170.6068,82.8159,200.1145,10.7887,47.524,21.6772,42.0317,1353.8088,-1308.5279],
    2004:[325.2408,85.5271,-13.0036,41.2184,24.1717,44.1738,47.0526,56.4998,389.6103,226.9513,142.7754,0.2319,143.9713,-79.3536,16.6211,-171.1906,14.6873,55.9323,1305.9078,5.5032,12.1208,-22.2309,129.7069,72.5083,185.2617,11.1719,30.5615,25.8139,40.4512,1372.6245,-1337.5804],
    2005:[353.8577,100.0051,-13.6599,60.5706,34.0898,31.8171,46.6316,51.7798,417.7405,222.1221,295.8905,-395.5056,150.0509,-72.5491,35.5714,-630.0384,-274.0631,-347.7883,1294.3612,-234.1746,8.9652,-371.1561,-430.1445,-137.7339,179.6842,9.4498,15.7137,-6.0848,39.0935,1421.47,-1366.3197],
    2006:[381.0356,122.7207,-41.1195,35.1167,14.681,60.6467,43.4877,31.1924,446.9173,232.2766,350.5707,-483.4505,148.8509,-118.0876,26.651,-787.1037,-345.3824,-459.3371,1255.2894,-255.2291,2.5642,-390.8692,-553.5224,-164.7302,167.2511,12.4194,-3.5759,-7.2473,37.6536,1449.2329,-1393.0334],
    2007:[416.7532,150.8626,-88.5592,0.6556,-8.7474,66.295,33.9426,4.2385,479.1384,270.919,400.6602,-557.7129,140.3431,-160.6615,21.4692,-1003.0009,-385.9108,-525.1436,1292.9476,-293.3316,-4.2566,-419.3229,-688.1705,-222.6786,143.1931,10.4133,-34.7142,-32.2398,30.1865,1482.1035,-1432.437],
    2008:[462.72,201.7258,-149.0351,-18.0563,-22.3084,68.5628,23.4355,-5.2806,497.4173,288.6671,432.1518,-605.8459,126.8603,-182.2407,24.5232,-1086.3572,-399.7908,-565.3489,1276.9115,-324.1705,-10.7252,-418.047,-769.7872,-244.0225,125.3654,5.6621,-51.9167,-49.4974,22.5488,1506.2831,-1464.2877],
    2009:[507.4753,243.3067,-182.5441,-36.09,5.0799,85.0265,20.5115,-18.8419,809.302,390.7682,559.821,-663.5286,167.3208,-201.3425,20.5492,-1176.4344,-421.8808,-601.3323,1764.0185,-347.643,-15.564,-416.6056,-799.6874,-553.7842,101.2231,7.1755,-125.8156,-147.2858,13.9844,1524.9359,-1496.0878],
    2010:[700.2997,309.4373,-104.0499,100.3752,18.8034,123.3245,23.1861,-9.7859,890.6798,402.4096,699.0459,-868.102,163.3099,-231.5451,51.811,-1394.6345,-420.9501,-499.0368,1919.4508,-721.4293,-27.0873,-418.4498,-956.2697,-709.9952,73.7803,7.0461,-138.8725,-152.1215,13.0282,1542.3941,-1531.4377],
    2011:[737.6843,354.6014,-104.2525,93.4996,15.7775,128.0161,22.8711,-0.315,928.1013,384.5499,681.6868,-918.5812,168.2389,-264.1216,46.0023,-1534.4461,-406.5616,-539.2863,1867.6563,-723.6353,-30.4827,-410.814,-1008.3928,-769.7188,68.5125,1.0264,-166.0765,-164.6892,10.585,1557.079,-1563.213]
});
//console.log(dataPeople);
var option = {
    //color : ["rgb(255,0,0)", "rgb(255,63,0)", "rgb(255,127,0)", "rgb(255,191,0)", "rgb(255,255,0)"],
    title : {
        text: '中国人口流动图示 (2011)',
        subtext: '1987-2011(单位:万人)',
        x:'center'
    },
    tooltip : {
        trigger: 'item'
    },
    legend: {
        data:[],
        //orient: 'vertical',
        x:'right',
        y: 55,
        //data:['1000以上','0 ~ 1000','-1000 ~ 0','-2000 ~ -1000','-2000以下'],
        selectedMode : false
    },
    dataRange: {
        //min: dataPeople['2011min'],
        //max: dataPeople['2011max'],
        color : ['red', 'yellow'],
        text:['高','低'],           // 文本,默认为数值文本
        calculable : true,
        textStyle: {
        }
    },
    toolbox: {
        show : true,
        orient : 'vertical',
        x: 'right',
        y: 'center',
        feature : {
            mark : {show: true},
            saveAsImage : {show: true}
        }
    },
    grid: {
        x:700,
        y:100
    },
     xAxis : [
        {
            type : 'category',
            boundaryGap : false,
            data : function (){
                var list = [];
                for (var i = 1987; i <= 2011; i++) {
                    list.push(i);
                }
                return list;
            }()
        }
    ],
    yAxis : [
        {
            type : 'value',
            name : '人口流动情况',
            splitArea : {show : true}
        }
    ],
    series : [
        {
            name: '全国人口变化',
            type: 'map',
            mapType: 'china',
            mapLocation: {
                x: 'left'
            },
            selectedMode : 'multiple',
            itemStyle:{
                normal:{label:{show:true}},
                emphasis:{
                    label:{show:true},
                    areaStyle: {color: '#eee'}
                }
            },
            data:dataPeople[2011]
        }
        /*,
        {name:'1000以上',type:'kener'},
        {name:'0 ~ 1000',type:'kener'},
        {name:'-1000 ~ 0',type:'kener'},
        {name:'-2000 ~ -1000',type:'kener'},
        {name:'-2000以下',type:'kener'}
        */
        // 图例示意占位
        
    ],
    animation: true
};
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fb78830c9a5dad062d08b90b2bc0cf5da' type='text/javascript'%3E%3C/script%3E"));

+ 182 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/index.html

@ -0,0 +1,182 @@
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>中国城市空气质量实况</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="China">
    <meta name="author" content="kener.linfeng@gmail.com">
    <link href="../../../asset/css/bootstrap.css" rel="stylesheet">
    <link href="../../../asset/css/bootstrap-responsive.css" rel="stylesheet">
    <link rel="shortcut icon" href="../../../asset/ico/favicon.png">
    <style type="text/css">
        * {
            font-family: "Microsoft YaHei" !important;
        }
        body{
            background-image: url(../../../asset/img/groovepaper.png);
            background-repeat: repeat;    
        }
        header {
            background-image: url(../../../asset/img/tweed.png);
            background-repeat: repeat;
        }
        h1 {
            color: #FFF;
            font-weight : bolder;
            margin:20px 0 5px 0;
        }
        header p {
            color: #FFF;
            margin-bottom: 20px;
        }
        section {
            background-image: url(../../../asset/img/ticks.png);
            background-repeat: repeat;
            padding: 10px;
        }
        footer {
            height: 100px;
            background-image: url(../../../asset/img/tweed.png);
            background-repeat: repeat;
            font-size: 14px;
            color: #CCC;
            text-align: center;
            padding-top: 15px;
            margin-top:15px;
        }
        .nav.nav-tabs.nav-justified {
            margin-bottom:0;
        }
        .ctrl-wrap {
            padding:20px 20px 0 20px;
            text-align: center;
            border-left: 1px solid #dddddd;
            border-right: 1px solid #dddddd;
        }
        .ctrl-content .btn{
            width: 7%;
        }
        .tab-content {
            padding:20px;
            border: 1px solid #dddddd;
            border-top: 0px;
        }
        .g2wrap {
            height:300px;
            width:33%;
            float:left;
        }
        input[type="radio"] {
            margin: -5px 5px 0;
        }
        label {
            display: inline-block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        footer a:hover {
            color:#62C462
        }
    </style>
</head>
<body>
    <!-- HEADER -->
    <header>
        <div class="container">
            <h1>中国主要城市空气质量实况</h1>
            <p>数据更新时间:<span id="time">****-**-** --:--:--</span></p>
        </div>
    </header>
    <section>
        <div class="container">
            <strong>引言:</strong>你关注或者不关注,它就在我们身边...
            <div style="text-align: right"><i>忘记从什么时候开始,用颜色表示空气;不知道什么时候可以,用甜度描述空气。</i> from <a href="http://www.pm25.in/" target="_blank">pm25.in</a></div>
        </div>
    </section>
    <div class="container">
        <!-- CONTAINER -->
        <div class="row">
            <div id="overview" class="span12">
                <h3>概况:今天哪里又爆表了?</h3>
                <!-- Nav tabs -->
                <ul class="nav nav-tabs nav-justified">
                    <li class="active">
                        <a id = "o-aqi" href="#main0" data-toggle="tab">AQI<br/>(空气质量)</a></li>
                    <li><a id = "o-pm25" href="#main0" data-toggle="tab">PM 2.5<br/>(细颗粒物)</a></li>
                    <li><a id = "o-pm10" href="#main0" data-toggle="tab">PM 10<br/>(可吸入颗粒物)</a></li>
                    <li><a id = "o-co" href="#main0" data-toggle="tab">CO<br/>(一氧化碳)</a></li>
                    <li><a id = "o-no2" href="#main0" data-toggle="tab">NO2<br/>(二氧化氮)</a></li>
                    <li><a id = "o-o3" href="#main0" data-toggle="tab">O3<br/>(臭氧)</a></li>
                    <li><a id = "o-so2" href="#main0" data-toggle="tab">SO2<br/>(二氧化硫)</a></li>
                </ul>
                <div class="tab-content" id="main0">
                    <div class="span8" style="margin:0 30px 0 0">
                        <div id="g0" style="height:430px"></div>
                    </div>
                    <div style="min-height:430px;">
                        <h4 id="overview-head"></h4><hr>
                        <p id="overview-content"></p>
                        <p style="text-align: right">更多详见 <a id="overview-link" target="_blank">百度百科 »</a></p>
                    </div>
                </div>
            </div>
            <div class="span12" style="margin-top:15px;">
                <h3>重点城市对比</h3>
                <div id="g1" style="height:400px"></div>
                <h4 style="text-align: center">“PM2.5 vs 经济 vs 人口” 关联分析</h4>
                <div id="g20" class="g2wrap"></div>
                <div id="g21" class="g2wrap"></div>
                <div id="g22" class="g2wrap"></div>
            </div>
            <div class="span12" style="margin-top:15px;">
                <h3>空气质量排行榜</h3>
                <!-- Nav tabs -->
                <ul class="nav nav-tabs nav-justified">
                    <li class="active">
                        <a id = "r-aqi" href="#main3" data-toggle="tab">AQI<br/>(空气质量)</a></li>
                    <li><a id = "r-pm25" href="#main3" data-toggle="tab">PM 2.5<br/>(细颗粒物)</a></li>
                    <li><a id = "r-pm10" href="#main3" data-toggle="tab">PM 10<br/>(可吸入颗粒物)</a></li>
                    <li><a id = "r-co" href="#main3" data-toggle="tab">CO<br/>(一氧化碳)</a></li>
                    <li><a id = "r-no2" href="#main3" data-toggle="tab">NO2<br/>(二氧化氮)</a></li>
                    <li><a id = "r-o3" href="#main3" data-toggle="tab">O3<br/>(臭氧)</a></li>
                    <li><a id = "r-so2" href="#main3" data-toggle="tab">SO2<br/>(二氧化硫)</a></li>
                </ul>
                <div class="tab-content" id="main3">
                    <div id="g3" style="height:700px"></div>
                </div>
            </div><!--/span-->
        </div><!--/row-->
    </div>
    <!-- FOOTER -->
    <footer>
      <p>&copy; 2014 <a href="http://weibo.com/wfsr" target="_blank">大佛</a>(百度)  &middot; <a href="http://weibo.com/kenerlinfeng" target="_blank">林峰</a>(百度) 特别鸣谢 <a href="http://www.pm25.in/" target="_blank">PM25.in</a> &middot; <a href="http://www.iconpng.com/" target="_blank">iconpng</a></p>
      <p><a href="http://echarts.baidu.com" target="_blank">Data Visualization by ECharts</a></p>
    </footer>
    <script src="../../../asset/js/jquery.js"></script>
    <script src="../../../asset/js/bootstrap-transition.js"></script>
    <script src="../../../asset/js/bootstrap-alert.js"></script>
    <script src="../../../asset/js/bootstrap-modal.js"></script>
    <script src="../../../asset/js/bootstrap-dropdown.js"></script>
    <script src="../../../asset/js/bootstrap-scrollspy.js"></script>
    <script src="../../../asset/js/bootstrap-tab.js"></script>
    <script src="../../../asset/js/bootstrap-tooltip.js"></script>
    <script src="../../../asset/js/bootstrap-popover.js"></script>
    <script src="../../../asset/js/bootstrap-button.js"></script>
    <script src="../../../asset/js/bootstrap-collapse.js"></script>
    <script src="../../../asset/js/bootstrap-carousel.js"></script>
    <script src="../../../asset/js/bootstrap-typeahead.js"></script>
    <!-- core -->
    <script src="../../www/js/echarts.js"></script>
    <script src="./js/option0.js"></script>
    <script src="./js/option1.js"></script>
    <script src="./js/option2.js"></script>
    <script src="./js/option3.js"></script>
    <script src="./js/china_city_geo.js"></script>
    <script src="./js/data.js"></script>
    <script src="./js/main.js"></script>
</body>
</html>

File diff suppressed because it is too large
+ 2 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/china_city_geo.js


File diff suppressed because it is too large
+ 138 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/data.js


File diff suppressed because it is too large
+ 294 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/main.js


+ 68 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/option0.js

@ -0,0 +1,68 @@
function option0 (name) {
    var color = eColorMap[name];
    var option = {
        title : {
            text: '空气质量('+name+')',
            subtext: 'data from PM25.in',
            sublink: 'http://www.pm25.in'
        },
        tooltip : {
            trigger: 'item'
        },
        toolbox: {
            show : true,
            //orient : 'vertical',
            x: 'right',
            //y: 'center',
            feature : {
                mark : {show: true},
                dataView : {show: true, readOnly: false},
                restore : {show: true},
                saveAsImage : {show: true}
            }
        },
        dataRange: {
            min : data[name + 'Min'],
            max : data[name + 'Max'],
            calculable : true,
            color: ['maroon','purple','red','orange','yellow','lightgreen']
        },
        series : [
            {
                type: 'map',
                mapType: 'china',
                mapLocation: {
                    //x:'left'
                },
                hoverable: false,
                roam:true,
                itemStyle:{
                    //normal:{label:{show:true}}
                },
                data : [],
                markPoint: {
                    symbolSize: 5,       // 标注大小,半宽(半径)参数,当图形为方向或菱形则总宽度为symbolSize * 2
                    itemStyle: {
                        normal: {
                            borderColor: '#87cefa',
                            borderWidth: 1,            // 标注边线线宽,单位px,默认为1
                            label: {
                                show: false
                            }
                        },
                        emphasis: {
                            borderColor: '#1e90ff',
                            borderWidth: 5,
                            label: {
                                show: false
                            }
                        }
                    },
                    data : data[name]
                },
                geoCoord : data.geoCoord
            }
        ]
    };
    return option;
}

+ 168 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/option1.js

@ -0,0 +1,168 @@
function option1 (name) {
    var keyCity = [
        /*
        '北京','上海','广州','长春','长沙','成都','福州','哈尔滨','沈阳','杭州','呼和浩特',
        '昆明','南京','贵阳','太原','天津','武汉','西安','郑州','重庆','济南',
        '银川','石家庄','乌鲁木齐','南昌','海口','兰州','西宁','合肥','南宁','深圳',
        '包头','大连','大同','保定','东莞','佛山','桂林','开封','连云港',
        '廊坊','宁波','齐齐哈尔','泉州','绍兴','苏州','唐山','无锡','延安',
        '扬州','徐州','烟台','宜宾','玉溪','湛江','中山','珠海','淄博',
        '威海','潍坊','温州','汕头','青岛','厦门','九江','秦皇岛','洛阳',
        */
        '北京','上海','广州','重庆','天津','太原','沈阳','大连','长春',
        '南京','杭州','宁波','合肥','福州','厦门','南昌','济南','青岛',
        '郑州','武汉','长沙','深圳','南宁','海口','成都','贵阳','昆明',
        '拉萨','西安','兰州','西宁','银川','哈尔滨','石家庄','呼和浩特','乌鲁木齐'
    ];
    var option = {
        title : {
            text: '重点城市对比',
            subtext: 'data from PM25.in',
            sublink: 'http://www.pm25.in',
            x:'right',
            y:'bottom'
        },
        tooltip : {
            trigger: 'axis',
            formatter: function (v) {
                var res = v[0][1] + '<br/>';
                if (v.length < 5) {
                    for (var i = 0, l = v.length; i < l; i++) {
                        res += v[i][0] + ' : ' + v[i][2] + '<br/>';
                    }
                }
                else {
                    for (var i = 0, l = v.length; i < l; i++) {
                        res += v[i][0] + ' : ' + v[i][2] + ((i + 1) % 3 == 0 ? '<br/>' : ' ');
                    }
                }
                return res;
            }
        },
        legend: {
            data: keyCity
        },
        toolbox: {
            show : true,
            orient : 'vertical',
            x: 'right',
            y: 'center',
            feature : {
                mark : {show: true},
                dataView : {show: true, readOnly: false},
                magicType : {show: true, type: ['line', 'bar']},
                restore : {show: true},
                saveAsImage : {show: true}
            }
        },
        grid:{
            x: 50,
            y: 80,
            x2: '32%',
            borderWidth:0
        },
        xAxis : [
            {
                type : 'category',
                splitLine : {show : false},
                data : ['AQI','PM2.5','PM10','NO2','O3','SO2']
            }
        ],
        yAxis : [
            {
                type : 'value',
                splitArea : {show : true},
                splitLine : {show : true}
            }
        ],
        polar : [
           {
               indicator : [
                   { text: 'AQI'},
                   { text: 'PM2.5'},
                   { text: 'PM10'},
                   { text: 'NO2'},
                   { text: 'O3'},
                   { text: 'SO2'}
                ],
                center : ['84%', 230],
                radius : 120
            }
        ]
    };
    
    var selected = {};
    var series = [
        {
            name: '对比',
            type: 'radar',
            tooltip: {
                trigger:'axis',
                formatter: function (v) {
                    var res = v[0][3] + '<br/>';
                    if (v.length < 5) {
                        for (var i = 0, l = v.length; i < l; i++) {
                            res += v[i][1] + ' : ' + v[i][2] + '<br/>';
                        }
                    }
                    else {
                        for (var i = 0, l = v.length; i < l; i++) {
                            res += v[i][1] + ' : ' + v[i][2] + ((i + 1) % 3 == 0 ? '<br/>' : ' ');
                        }
                    }
                    return res;
                }
            },
            itemStyle: {
                normal: {
                    lineStyle: {
                        width: 1
                    }
                }
            },
            data: []
        }
    ];
    var cityToData = data.cityToData;
    var singleData;
    var city;
    var seriesData;
    for (var i = 0, l = keyCity.length; i < l; i++) {
        city = keyCity[i];
        singleData = cityToData[city];
        if (typeof singleData == 'undefined') {
            continue;
        }
        seriesData = [
            singleData.aqi, 
            singleData.pm2_5, 
            singleData.pm10, 
            singleData.no2, 
            singleData.o3, 
            singleData.so2
        ];
        series[0].data.push({
            name: city,
            value: seriesData
        });
        series.push({
            name: city,
            type: 'bar',
            barGap:'5%',
            barCategoryGap:'10%',
            data: seriesData
        });
        selected[city] = false;
    }
    selected['北京'] = true;
    selected['上海'] = true;
    selected['广州'] = true;
    //selected['重庆'] = true;
    //selected['哈尔滨'] = true;
    //selected['乌鲁木齐'] = true;
    //selected['拉萨'] = true;
    option.legend.selected = selected;
    option.series = series;
    //console.log(option);
    return option;
}

+ 135 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/option2.js

@ -0,0 +1,135 @@
function option2 (idx, selected) {
    var option = {
        tooltip : {
            trigger: 'item'
        },
        toolbox: {
            //orient: 'vertical',
            x: 'center',
            y: 'top',
            show : true,
            feature : {
                mark : {show: true},
                dataZoom : {show: true},
                dataView : {show: true, readOnly: false},
                restore : {show: true},
                saveAsImage : {show: true}
            }
        },
        legend : {
            data: ['城市'],
            selectedMode: false,
            orient: 'vertical',
            x: 'right'
        },
        grid: {
            x : 45,
            y : 30,
            x2 : 35,
            y2 : 30,
        },
        xAxis : [
            {
                name: idx != 0 ? 'PM25' : '亿元',
                type : 'value',
                //power: 1,
                scale: false
            }
        ],
        yAxis : [
            {
                name: idx != 1 ? '万人' : '亿元',
                type : 'value',
                //power: 1,
                scale: false,
                splitArea : {show : true}
            }
        ],
        animation:false,
        series : [
            {
                name:'城市',
                type:'scatter',
                
                symbolSize: function (value){
                    return Math.round(value[2] / sizeCtrl);
                }
            }
        ]
    };
    
    var scatterData = [];
    var sizeCtrl;
    var tipFormatter;
    switch(idx+'') {
        case '0':
            sizeCtrl = 10;
            tipFormatter = function (v) {
                return v[1] + '<br>'
                       + 'GDP : ' + v[2][0] + '(亿元)<br/>'
                       + '人口 : ' + v[2][1] + '(万人)<br/>'
                       + 'PM2.5 : ' + v[2][2];
            }
            for (var city in selected) {
                if (selected[city]) {
                    scatterData.push({
                        name: city,
                        value: [
                            PG[city].gdp,
                            PG[city].pop,
                            data.cityToData[city].pm2_5
                        ],
                        itemStyle:{normal:{color:PG[city].color}}
                    });
                }
            }
            break;
        case '1':
            sizeCtrl = 80;
            tipFormatter = function (v) {
                return v[1] + '<br>'
                       + 'PM2.5 : ' + v[2][0] + '<br/>'
                       + 'GDP : ' + v[2][1] + '(亿元)<br/>'
                       + '人口 : ' + v[2][2] + '(万人)';
            }
            for (var city in selected) {
                if (selected[city]) {
                    scatterData.push({
                        name: city,
                        value: [
                            data.cityToData[city].pm2_5,
                            PG[city].gdp,
                            PG[city].pop
                        ],
                        itemStyle:{normal:{color:PG[city].color}}
                    });
                }
            }
            break;
        case '2':
            sizeCtrl = 500;
            tipFormatter = function (v) {
                return v[1] + '<br>'
                       + 'PM2.5  : ' + v[2][0] + '<br/>'
                       + '人口  : ' + v[2][1] + '(万人)<br/>'
                       + 'GDP : ' + v[2][2] + '(亿元)';
            }
            for (var city in selected) {
                if (selected[city]) {
                    scatterData.push({
                        name: city,
                        value: [
                            data.cityToData[city].pm2_5,
                            PG[city].pop,
                            PG[city].gdp
                        ],
                        itemStyle:{normal:{color:PG[city].color}}
                    });
                }
            }
    }
    option.tooltip.formatter = tipFormatter;
    option.series[0].data = scatterData;
    
    return option;
}

+ 213 - 0
patient-co-manage/redis-cache/src/main/webapp/static/develop/browser/lib/echarts-2.2.7/doc/example/topic/aqi-china/js/option3.js

@ -0,0 +1,213 @@
function option3 (name) {
    var count = 30;
    var key = name != 'pm25' ? name : 'pm2_5';
    var nameWorst = [];
    var dataWorst = data[name].slice(-count);
    for (var i = 0, l = dataWorst.length; i < l; i++) {
        nameWorst.push(dataWorst[i].name);
    }
    
    var nameBest = [];
    var dataBest = data[name].slice(0,count);
    dataBest.reverse();
    for (var i = 0, l = dataBest.length; i < l; i++) {
        dataBest[i] = {
            name: dataBest[i].name,
            value: - dataBest[i].value
        };
        nameBest.push(dataBest[i].name);
    }
    var option = {
        title : {
            text: '空气质量排行榜('+name+' 前后30名)',
            subtext: 'data from PM25.in',
            sublink: 'http://www.pm25.in',
            itemGap: 5,
            x:'center'
        },
        tooltip : {
            trigger: 'item'
        },
        toolbox: {
            show : true,
            //orient : 'vertical',
            //x: 'right',
            //y: 'center',
            feature : {
                mark : {show: true},
                dataView : {show: true, readOnly: false},
                //magicType: {show: true, type: ['line', 'bar']},
                restore : {show: true},
                saveAsImage : {show: true}
            }
        },
        dataRange: {
            orient: 'horizontal',
            precision: name != 'co' ? 0 : 2,
            min : data[name + 'Min'],
            max : data[name + 'Max'],
            text:['高','低'],           // 文本,默认为数值文本
            calculable : true,
            x: '45%',
            y: 640,
            itemWidth:35,
            color: ['maroon','purple','red','orange','yellow','lightgreen'],
            textStyle:{
                color:'#fff'
            }
        },
        grid:{
            x: 0,
            y: 50,
            x2: 0,
            y2: 0,
            borderWidth:0
        },
        xAxis : [
            {
                type : 'value',
                position: 'top',
                splitLine: {show:false},
                axisLine: {show:false},
                axisLabel : {show:false},
                min: 0,
                max: data[name+'Max']
            },
            {
                type : 'value',
                position: 'bottom',
                splitLine: {show:false},
                axisLine: {show:false},
                min: -data[name+'Max'],
                max: 0,
                axisLabel:{
                    show:false,
                    formatter: function (v){
                        return -v;
                    }
                }
            }
        ],
        yAxis : [
            {
                type : 'category',
                splitLine: {show:false},
                axisLine: {show:false},
                axisLabel : {show:false},
                data : nameWorst
            },
            {
                type : 'category',
                splitLine: {show:false},
                axisLine: {show:false},
                axisLabel : {show:false},
                data : nameBest
            }
        ],
        animation:false,
        series : [
            {
                name: '空气质量('+name+')',
                type: 'map',
                mapType: 'china',
                itemStyle:{normal:{label:{show:false}}},
                //roam: true,
                mapLocation: {
                    x: '45%',
                    y: 200,
                    width: '45%'
                },
                data:[
                    {name:'西藏', value:data.cityToData['拉萨'][key]},
                    {name:'青海', value:data.cityToData['西宁'][key]},
                    {name:'宁夏', value:data.cityToData['银川'][key]},
                    {name:'海南', value:data.cityToData['海口'][key]},
                    {name:'甘肃', value:data.cityToData['兰州'][key]},
                    {name:'贵州', value:data.cityToData['贵阳'][key]},
                    {name:'新疆', value:data.cityToData['乌鲁木齐'][key]},
                    {name:'云南', value:data.cityToData['昆明'][key]},
                    {name:'重庆', value:data.cityToData['重庆'][key]},
                    {name:'吉林', value:data.cityToData['长春'][key]},
                    {name:'山西', value:data.cityToData['太原'][key]},
                    {name:'天津', value:data.cityToData['天津'][key]},
                    {name:'江西', value:data.cityToData['南昌'][key]},
                    {name:'广西', value:data.cityToData['南宁'][key]},
                    {name:'陕西', value:data.cityToData['西安'][key]},
                    {name:'黑龙江', value:data.cityToData['哈尔滨'][key]},
                    {name:'内蒙古', value:data.cityToData['呼和浩特'][key]},
                    {name:'安徽', value:data.cityToData['合肥'][key]},
                    {name:'北京', value:(data.cityToData['北京'] || {})[key]},
                    {name:'福建', value:data.cityToData['福州'][key]},
                    {name:'上海', value:data.cityToData['上海'][key]},
                    {name:'湖北', value:data.cityToData['武汉'][key]},
                    {name:'湖南', value:data.cityToData['长沙'][key]},
                    {name:'四川', value:data.cityToData['成都'][key]},
                    {name:'辽宁', value:data.cityToData['沈阳'][key]},
                    {name:'河北', value:data.cityToData['石家庄'][key]},
                    {name:'河南', value:data.cityToData['郑州'][key]},
                    {name:'浙江', value:data.cityToData['杭州'][key]},
                    {name:'山东', value:data.cityToData['济南'][key]},
                    {name:'江苏', value:data.cityToData['南京'][key]},
                    {name:'广东', value:data.cityToData['广州'][key]}
                ]
            },
            {
                name: '空气质量最差('+name+')',
                type: 'bar',
                itemStyle : {
                    normal : {
                        color : (function (){
                            var zrColor = require('zrender/tool/color');
                            return zrColor.getLinearGradient(
                                0, 80, 0, 700,
                                //['orangered','yellow','lightskyblue']
                                [[0, 'purple'],[0.5, 'orangered'],[1, 'orange']]
                            )
                        })(),
                        label : {
                            show : true,
                            position: 'right',
                            formatter:'{b} : {c}'
                        }
                    }
                },
                data: dataWorst
            },
            {
                name: '空气质量最好('+name+')',
                type: 'bar',
                tooltip:{
                    trigger: 'item',
                    formatter : function (v) {
                        return v[0] + '<br/>' + v[1] + ' : ' + (-v[2]);
                    }
                },
                xAxisIndex:1,
                yAxisIndex:1,
                barMinHeight: 5,
                itemStyle : {
                    normal : {
                        color : (function (){
                            var zrColor = require('zrender/tool/color');
                            return zrColor.getLinearGradient(
                                0, 80, 0, 700,
                                //['orangered','yellow','lightskyblue']
                                [[0, 'lightskyblue'],[1, 'lightgreen']]
                            )
                        })(),
                        label : {
                            show : true,
                            position: 'left',
                            formatter: function (params) {
                                return params.name + ' : ' + (-params.value);
                            }
                        }
                    }
                },
                data: dataBest
            }
        ]
    };
    //console.log(option);
    return option;
}