You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
586 lines
17 KiB
586 lines
17 KiB
11 months ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>Awesome-pyecharts</title>
|
||
|
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
|
||
|
|
||
|
</head>
|
||
|
<body >
|
||
|
<div id="0e1d92dda2cc4445a81150fe42354fc3" class="chart-container" style="width:100%; height:1100px; "></div>
|
||
|
<script>
|
||
|
var chart_0e1d92dda2cc4445a81150fe42354fc3 = echarts.init(
|
||
|
document.getElementById('0e1d92dda2cc4445a81150fe42354fc3'), 'white', {renderer: 'canvas'});
|
||
|
var option_0e1d92dda2cc4445a81150fe42354fc3 = {
|
||
|
"animation": true,
|
||
|
"animationThreshold": 2000,
|
||
|
"animationDuration": 1000,
|
||
|
"animationEasing": "cubicOut",
|
||
|
"animationDelay": 0,
|
||
|
"animationDurationUpdate": 300,
|
||
|
"animationEasingUpdate": "cubicOut",
|
||
|
"animationDelayUpdate": 0,
|
||
|
"aria": {
|
||
|
"enabled": false
|
||
|
},
|
||
|
"color": [
|
||
|
"#5470c6",
|
||
|
"#91cc75",
|
||
|
"#fac858",
|
||
|
"#ee6666",
|
||
|
"#73c0de",
|
||
|
"#3ba272",
|
||
|
"#fc8452",
|
||
|
"#9a60b4",
|
||
|
"#ea7ccc"
|
||
|
],
|
||
|
"series": [
|
||
|
{
|
||
|
"type": "bar",
|
||
|
"name": "\u603b\u8425\u4e1a\u6536\u5165\uff08\u5343\u5143\uff09",
|
||
|
"xAxisIndex": 0,
|
||
|
"yAxisIndex": 0,
|
||
|
"legendHoverLink": true,
|
||
|
"data": [
|
||
|
1754614.29,
|
||
|
22527902.82,
|
||
|
621585.07,
|
||
|
14990633.42,
|
||
|
106681920.0,
|
||
|
1000186.0,
|
||
|
1028079.0,
|
||
|
1134649.72,
|
||
|
9217764.14,
|
||
|
3584805.0,
|
||
|
2078749.99
|
||
|
],
|
||
|
"realtimeSort": false,
|
||
|
"showBackground": false,
|
||
|
"stackStrategy": "samesign",
|
||
|
"cursor": "pointer",
|
||
|
"barMinHeight": 0,
|
||
|
"barCategoryGap": "20%",
|
||
|
"barGap": "30%",
|
||
|
"large": false,
|
||
|
"largeThreshold": 400,
|
||
|
"seriesLayoutBy": "column",
|
||
|
"datasetIndex": 0,
|
||
|
"clip": true,
|
||
|
"zlevel": 0,
|
||
|
"z": 2,
|
||
|
"label": {
|
||
|
"show": false,
|
||
|
"margin": 8
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"show": true,
|
||
|
"trigger": "item",
|
||
|
"triggerOn": "mousemove|click",
|
||
|
"axisPointer": {
|
||
|
"type": "line"
|
||
|
},
|
||
|
"showContent": true,
|
||
|
"alwaysShowContent": false,
|
||
|
"showDelay": 0,
|
||
|
"hideDelay": 100,
|
||
|
"enterable": false,
|
||
|
"confine": false,
|
||
|
"appendToBody": false,
|
||
|
"transitionDuration": 0.4,
|
||
|
"formatter": "{b}: {c}",
|
||
|
"textStyle": {
|
||
|
"fontSize": 14
|
||
|
},
|
||
|
"borderWidth": 0,
|
||
|
"padding": 5,
|
||
|
"order": "seriesAsc"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "bar",
|
||
|
"name": "\u603b\u51c0\u5229\u6da6\uff08\u5343\u5143\uff09",
|
||
|
"xAxisIndex": 1,
|
||
|
"yAxisIndex": 1,
|
||
|
"legendHoverLink": true,
|
||
|
"data": [
|
||
|
57426.21,
|
||
|
206493.72,
|
||
|
53298.29,
|
||
|
974409.33,
|
||
|
4242059.0,
|
||
|
156597.0,
|
||
|
53254.3,
|
||
|
20418.84,
|
||
|
657616.33,
|
||
|
205935.0,
|
||
|
226457.38
|
||
|
],
|
||
|
"realtimeSort": false,
|
||
|
"showBackground": false,
|
||
|
"stackStrategy": "samesign",
|
||
|
"cursor": "pointer",
|
||
|
"barMinHeight": 0,
|
||
|
"barCategoryGap": "20%",
|
||
|
"barGap": "30%",
|
||
|
"large": false,
|
||
|
"largeThreshold": 400,
|
||
|
"seriesLayoutBy": "column",
|
||
|
"datasetIndex": 0,
|
||
|
"clip": true,
|
||
|
"zlevel": 0,
|
||
|
"z": 2,
|
||
|
"label": {
|
||
|
"show": false,
|
||
|
"margin": 8
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"show": true,
|
||
|
"trigger": "item",
|
||
|
"triggerOn": "mousemove|click",
|
||
|
"axisPointer": {
|
||
|
"type": "line"
|
||
|
},
|
||
|
"showContent": true,
|
||
|
"alwaysShowContent": false,
|
||
|
"showDelay": 0,
|
||
|
"hideDelay": 100,
|
||
|
"enterable": false,
|
||
|
"confine": false,
|
||
|
"appendToBody": false,
|
||
|
"transitionDuration": 0.4,
|
||
|
"formatter": "{b}: {c}",
|
||
|
"textStyle": {
|
||
|
"fontSize": 14
|
||
|
},
|
||
|
"borderWidth": 0,
|
||
|
"padding": 5,
|
||
|
"order": "seriesAsc"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "pie",
|
||
|
"colorBy": "data",
|
||
|
"legendHoverLink": true,
|
||
|
"selectedMode": false,
|
||
|
"selectedOffset": 10,
|
||
|
"clockwise": true,
|
||
|
"startAngle": 90,
|
||
|
"minAngle": 0,
|
||
|
"minShowLabelAngle": 0,
|
||
|
"avoidLabelOverlap": true,
|
||
|
"stillShowZeroSum": true,
|
||
|
"percentPrecision": 2,
|
||
|
"showEmptyCircle": true,
|
||
|
"emptyCircleStyle": {
|
||
|
"color": "lightgray",
|
||
|
"borderColor": "#000",
|
||
|
"borderWidth": 0,
|
||
|
"borderType": "solid",
|
||
|
"borderDashOffset": 0,
|
||
|
"borderCap": "butt",
|
||
|
"borderJoin": "bevel",
|
||
|
"borderMiterLimit": 10,
|
||
|
"opacity": 1
|
||
|
},
|
||
|
"data": [
|
||
|
{
|
||
|
"name": "\u5357\u5b81\u5e02",
|
||
|
"value": 13
|
||
|
},
|
||
|
{
|
||
|
"name": "\u9632\u57ce\u6e2f\u5e02",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"name": "\u767e\u8272\u5e02",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"name": "\u7389\u6797\u5e02",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"name": "\u67f3\u5dde\u5e02",
|
||
|
"value": 7
|
||
|
},
|
||
|
{
|
||
|
"name": "\u5d07\u5de6\u5e02",
|
||
|
"value": 3
|
||
|
},
|
||
|
{
|
||
|
"name": "\u5317\u6d77\u5e02",
|
||
|
"value": 3
|
||
|
},
|
||
|
{
|
||
|
"name": "\u6842\u6797\u5e02",
|
||
|
"value": 9
|
||
|
},
|
||
|
{
|
||
|
"name": "\u94a6\u5dde\u5e02",
|
||
|
"value": 5
|
||
|
},
|
||
|
{
|
||
|
"name": "\u8d3a\u5dde\u5e02",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"name": "\u68a7\u5dde\u5e02",
|
||
|
"value": 8
|
||
|
}
|
||
|
],
|
||
|
"radius": [
|
||
|
"15%",
|
||
|
"40%"
|
||
|
],
|
||
|
"center": [
|
||
|
"50%",
|
||
|
"850px"
|
||
|
],
|
||
|
"label": {
|
||
|
"show": true,
|
||
|
"position": "outside",
|
||
|
"margin": 8,
|
||
|
"formatter": function(params){return params.name + ': ' + params.value;}
|
||
|
},
|
||
|
"labelLine": {
|
||
|
"show": true,
|
||
|
"showAbove": false,
|
||
|
"length": 15,
|
||
|
"length2": 15,
|
||
|
"smooth": false,
|
||
|
"minTurnAngle": 90,
|
||
|
"maxSurfaceAngle": 90
|
||
|
},
|
||
|
"xAxisIndex": 2,
|
||
|
"yAxisIndex": 2
|
||
|
}
|
||
|
],
|
||
|
"legend": [
|
||
|
{
|
||
|
"data": [
|
||
|
"\u603b\u8425\u4e1a\u6536\u5165\uff08\u5343\u5143\uff09"
|
||
|
],
|
||
|
"selected": {},
|
||
|
"show": true,
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"itemWidth": 25,
|
||
|
"itemHeight": 14,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"borderRadius": 0,
|
||
|
"pageButtonItemGap": 5,
|
||
|
"pageButtonPosition": "end",
|
||
|
"pageFormatter": "{current}/{total}",
|
||
|
"pageIconColor": "#2f4554",
|
||
|
"pageIconInactiveColor": "#aaa",
|
||
|
"pageIconSize": 15,
|
||
|
"animationDurationUpdate": 800,
|
||
|
"selector": false,
|
||
|
"selectorPosition": "auto",
|
||
|
"selectorItemGap": 7,
|
||
|
"selectorButtonGap": 10,
|
||
|
"left": "35%",
|
||
|
"orient": "horizontal"
|
||
|
},
|
||
|
{
|
||
|
"data": [
|
||
|
"\u603b\u51c0\u5229\u6da6\uff08\u5343\u5143\uff09"
|
||
|
],
|
||
|
"selected": {},
|
||
|
"show": true,
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"itemWidth": 25,
|
||
|
"itemHeight": 14,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"borderRadius": 0,
|
||
|
"pageButtonItemGap": 5,
|
||
|
"pageButtonPosition": "end",
|
||
|
"pageFormatter": "{current}/{total}",
|
||
|
"pageIconColor": "#2f4554",
|
||
|
"pageIconInactiveColor": "#aaa",
|
||
|
"pageIconSize": 15,
|
||
|
"animationDurationUpdate": 800,
|
||
|
"selector": false,
|
||
|
"selectorPosition": "auto",
|
||
|
"selectorItemGap": 7,
|
||
|
"selectorButtonGap": 10,
|
||
|
"right": "5%",
|
||
|
"orient": "horizontal"
|
||
|
},
|
||
|
{
|
||
|
"data": [
|
||
|
"\u5357\u5b81\u5e02",
|
||
|
"\u9632\u57ce\u6e2f\u5e02",
|
||
|
"\u767e\u8272\u5e02",
|
||
|
"\u7389\u6797\u5e02",
|
||
|
"\u67f3\u5dde\u5e02",
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
"\u6842\u6797\u5e02",
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
"\u8d3a\u5dde\u5e02",
|
||
|
"\u68a7\u5dde\u5e02"
|
||
|
],
|
||
|
"selected": {},
|
||
|
"show": true,
|
||
|
"left": "80%",
|
||
|
"orient": "horizontal",
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"itemWidth": 25,
|
||
|
"itemHeight": 14,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"borderRadius": 0,
|
||
|
"pageButtonItemGap": 5,
|
||
|
"pageButtonPosition": "end",
|
||
|
"pageFormatter": "{current}/{total}",
|
||
|
"pageIconColor": "#2f4554",
|
||
|
"pageIconInactiveColor": "#aaa",
|
||
|
"pageIconSize": 15,
|
||
|
"animationDurationUpdate": 800,
|
||
|
"selector": false,
|
||
|
"selectorPosition": "auto",
|
||
|
"selectorItemGap": 7,
|
||
|
"selectorButtonGap": 10,
|
||
|
"right": "50%",
|
||
|
"top": "550px"
|
||
|
}
|
||
|
],
|
||
|
"tooltip": {
|
||
|
"show": true,
|
||
|
"trigger": "item",
|
||
|
"triggerOn": "mousemove|click",
|
||
|
"axisPointer": {
|
||
|
"type": "line"
|
||
|
},
|
||
|
"showContent": true,
|
||
|
"alwaysShowContent": false,
|
||
|
"showDelay": 0,
|
||
|
"hideDelay": 100,
|
||
|
"enterable": false,
|
||
|
"confine": false,
|
||
|
"appendToBody": false,
|
||
|
"transitionDuration": 0.4,
|
||
|
"textStyle": {
|
||
|
"fontSize": 14
|
||
|
},
|
||
|
"borderWidth": 0,
|
||
|
"padding": 5,
|
||
|
"order": "seriesAsc"
|
||
|
},
|
||
|
"xAxis": [
|
||
|
{
|
||
|
"show": true,
|
||
|
"scale": false,
|
||
|
"nameLocation": "end",
|
||
|
"nameGap": 15,
|
||
|
"gridIndex": 0,
|
||
|
"inverse": false,
|
||
|
"offset": 0,
|
||
|
"splitNumber": 5,
|
||
|
"minInterval": 0,
|
||
|
"splitLine": {
|
||
|
"show": true,
|
||
|
"lineStyle": {
|
||
|
"show": true,
|
||
|
"width": 1,
|
||
|
"opacity": 1,
|
||
|
"curveness": 0,
|
||
|
"type": "solid"
|
||
|
}
|
||
|
},
|
||
|
"data": [
|
||
|
"\u5357\u5b81\u5e02",
|
||
|
"\u9632\u57ce\u6e2f\u5e02",
|
||
|
"\u767e\u8272\u5e02",
|
||
|
"\u7389\u6797\u5e02",
|
||
|
"\u67f3\u5dde\u5e02",
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
"\u6842\u6797\u5e02",
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
"\u8d3a\u5dde\u5e02",
|
||
|
"\u68a7\u5dde\u5e02"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"scale": false,
|
||
|
"nameLocation": "end",
|
||
|
"nameGap": 15,
|
||
|
"gridIndex": 1,
|
||
|
"inverse": false,
|
||
|
"offset": 0,
|
||
|
"splitNumber": 5,
|
||
|
"minInterval": 0,
|
||
|
"splitLine": {
|
||
|
"show": true,
|
||
|
"lineStyle": {
|
||
|
"show": true,
|
||
|
"width": 1,
|
||
|
"opacity": 1,
|
||
|
"curveness": 0,
|
||
|
"type": "solid"
|
||
|
}
|
||
|
},
|
||
|
"data": [
|
||
|
"\u5357\u5b81\u5e02",
|
||
|
"\u9632\u57ce\u6e2f\u5e02",
|
||
|
"\u767e\u8272\u5e02",
|
||
|
"\u7389\u6797\u5e02",
|
||
|
"\u67f3\u5dde\u5e02",
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
"\u6842\u6797\u5e02",
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
"\u8d3a\u5dde\u5e02",
|
||
|
"\u68a7\u5dde\u5e02"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"yAxis": [
|
||
|
{
|
||
|
"show": true,
|
||
|
"scale": false,
|
||
|
"nameLocation": "end",
|
||
|
"nameGap": 15,
|
||
|
"gridIndex": 0,
|
||
|
"inverse": false,
|
||
|
"offset": 0,
|
||
|
"splitNumber": 5,
|
||
|
"minInterval": 0,
|
||
|
"splitLine": {
|
||
|
"show": true,
|
||
|
"lineStyle": {
|
||
|
"show": true,
|
||
|
"width": 1,
|
||
|
"opacity": 1,
|
||
|
"curveness": 0,
|
||
|
"type": "solid"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"scale": false,
|
||
|
"nameLocation": "end",
|
||
|
"nameGap": 15,
|
||
|
"gridIndex": 1,
|
||
|
"inverse": false,
|
||
|
"offset": 0,
|
||
|
"splitNumber": 5,
|
||
|
"minInterval": 0,
|
||
|
"splitLine": {
|
||
|
"show": true,
|
||
|
"lineStyle": {
|
||
|
"show": true,
|
||
|
"width": 1,
|
||
|
"opacity": 1,
|
||
|
"curveness": 0,
|
||
|
"type": "solid"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"title": [
|
||
|
{
|
||
|
"show": true,
|
||
|
"text": "2018\u5e74\u5e7f\u897f\u5916\u8d44\u4f01\u4e1a\u5f15\u8fdb\u603b\u8425\u4e1a\u6536\u5165\u56fe",
|
||
|
"target": "blank",
|
||
|
"subtarget": "blank",
|
||
|
"left": "5%",
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"textAlign": "auto",
|
||
|
"textVerticalAlign": "auto",
|
||
|
"triggerEvent": false
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"text": "2018\u5e74\u5e7f\u897f\u5916\u8d44\u4f01\u4e1a\u5f15\u8fdb\u603b\u51c0\u5229\u6da6\u56fe",
|
||
|
"target": "blank",
|
||
|
"subtarget": "blank",
|
||
|
"left": "54%",
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"textAlign": "auto",
|
||
|
"textVerticalAlign": "auto",
|
||
|
"triggerEvent": false
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"text": "2018\u5e74\u5e7f\u897f\u5404\u5730\u5e02\u5916\u4f01\u6570\u91cf\u5206\u5e03\u56fe",
|
||
|
"target": "blank",
|
||
|
"subtarget": "blank",
|
||
|
"left": "25%",
|
||
|
"top": "550px",
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"textAlign": "auto",
|
||
|
"textVerticalAlign": "auto",
|
||
|
"triggerEvent": false
|
||
|
}
|
||
|
],
|
||
|
"grid": [
|
||
|
{
|
||
|
"show": false,
|
||
|
"zlevel": 0,
|
||
|
"z": 2,
|
||
|
"left": "5%",
|
||
|
"top": "50px",
|
||
|
"right": "55%",
|
||
|
"bottom": "650px",
|
||
|
"containLabel": false,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"shadowOffsetX": 0,
|
||
|
"shadowOffsetY": 0
|
||
|
},
|
||
|
{
|
||
|
"show": false,
|
||
|
"zlevel": 0,
|
||
|
"z": 2,
|
||
|
"left": "55%",
|
||
|
"top": "50px",
|
||
|
"right": "5%",
|
||
|
"bottom": "650px",
|
||
|
"containLabel": false,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"shadowOffsetX": 0,
|
||
|
"shadowOffsetY": 0
|
||
|
},
|
||
|
{
|
||
|
"show": false,
|
||
|
"zlevel": 0,
|
||
|
"z": 2,
|
||
|
"left": "25%",
|
||
|
"top": "550px",
|
||
|
"right": "25%",
|
||
|
"bottom": "50px",
|
||
|
"containLabel": false,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"shadowOffsetX": 0,
|
||
|
"shadowOffsetY": 0
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
chart_0e1d92dda2cc4445a81150fe42354fc3.setOption(option_0e1d92dda2cc4445a81150fe42354fc3);
|
||
|
window.addEventListener('resize', function(){
|
||
|
chart_0e1d92dda2cc4445a81150fe42354fc3.resize();
|
||
|
})
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|