forked from Open-CT/openbrain
204 lines
5.4 KiB
HTML
204 lines
5.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Awesome-pyecharts</title>
|
|
<script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
|
|
<script type="text/javascript" src="https://assets.pyecharts.org/assets/maps/china.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
<div id="a29d84667bc840359cd508da343ff5fd" class="chart-container" style="width:900px; height:500px;"></div>
|
|
<script>
|
|
var chart_a29d84667bc840359cd508da343ff5fd = echarts.init(
|
|
document.getElementById('a29d84667bc840359cd508da343ff5fd'), 'white', {renderer: 'canvas'});
|
|
var option_a29d84667bc840359cd508da343ff5fd = {
|
|
"animation": true,
|
|
"animationThreshold": 2000,
|
|
"animationDuration": 1000,
|
|
"animationEasing": "cubicOut",
|
|
"animationDelay": 0,
|
|
"animationDurationUpdate": 300,
|
|
"animationEasingUpdate": "cubicOut",
|
|
"animationDelayUpdate": 0,
|
|
"color": [
|
|
"#c23531",
|
|
"#2f4554",
|
|
"#61a0a8",
|
|
"#d48265",
|
|
"#749f83",
|
|
"#ca8622",
|
|
"#bda29a",
|
|
"#6e7074",
|
|
"#546570",
|
|
"#c4ccd3",
|
|
"#f05b72",
|
|
"#ef5b9c",
|
|
"#f47920",
|
|
"#905a3d",
|
|
"#fab27b",
|
|
"#2a5caa",
|
|
"#444693",
|
|
"#726930",
|
|
"#b2d235",
|
|
"#6d8346",
|
|
"#ac6767",
|
|
"#1d953f",
|
|
"#6950a1",
|
|
"#918597"
|
|
],
|
|
"series": [
|
|
{
|
|
"type": "map",
|
|
"name": "\u7d2f\u8ba1\u786e\u8bca",
|
|
"label": {
|
|
"show": true,
|
|
"position": "top",
|
|
"margin": 8
|
|
},
|
|
"mapType": "china",
|
|
"data": [
|
|
{
|
|
"name": "place",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "\u5317\u4eac",
|
|
"value": 12
|
|
},
|
|
{
|
|
"name": "\u91cd\u5e86",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "\u5929\u6d25",
|
|
"value": 6
|
|
},
|
|
{
|
|
"name": "\u4e0a\u6d77",
|
|
"value": 24
|
|
},
|
|
{
|
|
"name": "\u8d35\u5dde",
|
|
"value": 2
|
|
},
|
|
{
|
|
"name": "\u6e56\u5357",
|
|
"value": 28
|
|
},
|
|
{
|
|
"name": "\u6d59\u6c5f",
|
|
"value": 16
|
|
},
|
|
{
|
|
"name": "\u6cb3\u5317",
|
|
"value": 452
|
|
},
|
|
{
|
|
"name": "\u5b89\u5fbd",
|
|
"value": 2
|
|
},
|
|
{
|
|
"name": "\u5e7f\u4e1c",
|
|
"value": 18
|
|
},
|
|
{
|
|
"name": "\u798f\u5efa",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "\u5c71\u4e1c",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "\u6c5f\u82cf",
|
|
"value": 11
|
|
},
|
|
{
|
|
"name": "\u56db\u5ddd",
|
|
"value": 3
|
|
},
|
|
{
|
|
"name": "\u6c5f\u897f",
|
|
"value": 4
|
|
},
|
|
{
|
|
"name": "\u65b0\u7586",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "\u7518\u8083",
|
|
"value": 3
|
|
},
|
|
{
|
|
"name": "\u5e7f\u897f",
|
|
"value": 2
|
|
},
|
|
{
|
|
"name": "\u5185\u8499\u53e4",
|
|
"value": 2
|
|
},
|
|
{
|
|
"name": "\u9655\u897f",
|
|
"value": 4
|
|
},
|
|
{
|
|
"name": "\u9ed1\u9f99\u6c5f",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "\u8fbd\u5b81",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "\u6cb3\u5357",
|
|
"value": 2
|
|
},
|
|
{
|
|
"name": "\u6d77\u5357",
|
|
"value": 66
|
|
}
|
|
],
|
|
"roam": true,
|
|
"aspectScale": 0.75,
|
|
"nameProperty": "name",
|
|
"selectedMode": false,
|
|
"zoom": 1,
|
|
"mapValueCalculation": "sum",
|
|
"showLegendSymbol": true,
|
|
"emphasis": {}
|
|
}
|
|
],
|
|
"legend": [
|
|
{
|
|
"data": [
|
|
"\u7d2f\u8ba1\u786e\u8bca"
|
|
],
|
|
"selected": {
|
|
"\u7d2f\u8ba1\u786e\u8bca": true
|
|
}
|
|
}
|
|
],
|
|
"tooltip": {
|
|
"show": true,
|
|
"trigger": "item",
|
|
"triggerOn": "mousemove|click",
|
|
"axisPointer": {
|
|
"type": "line"
|
|
},
|
|
"showContent": true,
|
|
"alwaysShowContent": false,
|
|
"showDelay": 0,
|
|
"hideDelay": 100,
|
|
"textStyle": {
|
|
"fontSize": 14
|
|
},
|
|
"borderWidth": 0,
|
|
"padding": 5
|
|
}
|
|
};
|
|
chart_a29d84667bc840359cd508da343ff5fd.setOption(option_a29d84667bc840359cd508da343ff5fd);
|
|
</script>
|
|
</body>
|
|
</html>
|