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.
445 lines
12 KiB
445 lines
12 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="b9d7dc7de1554b2eb60696020b5f0eec" class="chart-container" style="width:100%; height:500px; "></div>
|
||
|
<script>
|
||
|
var chart_b9d7dc7de1554b2eb60696020b5f0eec = echarts.init(
|
||
|
document.getElementById('b9d7dc7de1554b2eb60696020b5f0eec'), 'white', {renderer: 'canvas'});
|
||
|
var option_b9d7dc7de1554b2eb60696020b5f0eec = {
|
||
|
"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": "\u7814\u53d1\u603b\u6295\u5165\u989d\uff08\u5343\u5143\uff09",
|
||
|
"xAxisIndex": 0,
|
||
|
"yAxisIndex": 0,
|
||
|
"legendHoverLink": true,
|
||
|
"data": [
|
||
|
198840,
|
||
|
253759,
|
||
|
336134,
|
||
|
388239,
|
||
|
450939,
|
||
|
689272,
|
||
|
701244,
|
||
|
705254,
|
||
|
1335012,
|
||
|
1369700,
|
||
|
1958071,
|
||
|
2607203,
|
||
|
7389684,
|
||
|
15953630
|
||
|
],
|
||
|
"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": true,
|
||
|
"margin": 8
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "line",
|
||
|
"name": "\u7814\u53d1\u6295\u5165\u6bd4(%)",
|
||
|
"connectNulls": false,
|
||
|
"xAxisIndex": 1,
|
||
|
"yAxisIndex": 1,
|
||
|
"symbolSize": 4,
|
||
|
"showSymbol": true,
|
||
|
"smooth": false,
|
||
|
"clip": true,
|
||
|
"step": false,
|
||
|
"data": [
|
||
|
[
|
||
|
"\u5357\u5b81\u5e02",
|
||
|
5.54
|
||
|
],
|
||
|
[
|
||
|
"\u9632\u57ce\u6e2f\u5e02",
|
||
|
6.16
|
||
|
],
|
||
|
[
|
||
|
"\u767e\u8272\u5e02",
|
||
|
5.02
|
||
|
],
|
||
|
[
|
||
|
"\u7389\u6797\u5e02",
|
||
|
5.58
|
||
|
],
|
||
|
[
|
||
|
"\u6cb3\u6c60\u5e02",
|
||
|
3.76
|
||
|
],
|
||
|
[
|
||
|
"\u67f3\u5dde\u5e02",
|
||
|
8.11
|
||
|
],
|
||
|
[
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
5.74
|
||
|
],
|
||
|
[
|
||
|
"\u6765\u5bbe\u5e02",
|
||
|
3.24
|
||
|
],
|
||
|
[
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
1.38
|
||
|
],
|
||
|
[
|
||
|
"\u6842\u6797\u5e02",
|
||
|
7.9
|
||
|
],
|
||
|
[
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
5.23
|
||
|
],
|
||
|
[
|
||
|
"\u8d35\u6e2f\u5e02",
|
||
|
6.02
|
||
|
],
|
||
|
[
|
||
|
"\u8d3a\u5dde\u5e02",
|
||
|
6.22
|
||
|
],
|
||
|
[
|
||
|
"\u68a7\u5dde\u5e02",
|
||
|
7.96
|
||
|
]
|
||
|
],
|
||
|
"hoverAnimation": true,
|
||
|
"label": {
|
||
|
"show": true,
|
||
|
"margin": 8
|
||
|
},
|
||
|
"logBase": 10,
|
||
|
"seriesLayoutBy": "column",
|
||
|
"lineStyle": {
|
||
|
"show": true,
|
||
|
"width": 1,
|
||
|
"opacity": 1,
|
||
|
"curveness": 0,
|
||
|
"type": "solid"
|
||
|
},
|
||
|
"areaStyle": {
|
||
|
"opacity": 0
|
||
|
},
|
||
|
"zlevel": 0,
|
||
|
"z": 0
|
||
|
}
|
||
|
],
|
||
|
"legend": [
|
||
|
{
|
||
|
"data": [
|
||
|
"\u7814\u53d1\u603b\u6295\u5165\u989d\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": [
|
||
|
"\u7814\u53d1\u6295\u5165\u6bd4(%)"
|
||
|
],
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"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,
|
||
|
"axisLabel": {
|
||
|
"show": true,
|
||
|
"margin": 8,
|
||
|
"interval": 0
|
||
|
},
|
||
|
"inverse": false,
|
||
|
"offset": 0,
|
||
|
"splitNumber": 5,
|
||
|
"minInterval": 0,
|
||
|
"splitLine": {
|
||
|
"show": true,
|
||
|
"lineStyle": {
|
||
|
"show": true,
|
||
|
"width": 1,
|
||
|
"opacity": 1,
|
||
|
"curveness": 0,
|
||
|
"type": "solid"
|
||
|
}
|
||
|
},
|
||
|
"data": [
|
||
|
"\u6765\u5bbe\u5e02",
|
||
|
"\u8d35\u6e2f\u5e02",
|
||
|
"\u8d3a\u5dde\u5e02",
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
"\u6cb3\u6c60\u5e02",
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
"\u68a7\u5dde\u5e02",
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
"\u7389\u6797\u5e02",
|
||
|
"\u767e\u8272\u5e02",
|
||
|
"\u6842\u6797\u5e02",
|
||
|
"\u9632\u57ce\u6e2f\u5e02",
|
||
|
"\u5357\u5b81\u5e02",
|
||
|
"\u67f3\u5dde\u5e02"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"scale": false,
|
||
|
"nameLocation": "end",
|
||
|
"nameGap": 15,
|
||
|
"gridIndex": 1,
|
||
|
"axisLabel": {
|
||
|
"show": true,
|
||
|
"margin": 8,
|
||
|
"interval": 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",
|
||
|
"\u6cb3\u6c60\u5e02",
|
||
|
"\u67f3\u5dde\u5e02",
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
"\u6765\u5bbe\u5e02",
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
"\u6842\u6797\u5e02",
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
"\u8d35\u6e2f\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\u5404\u5730\u5e02\u7814\u53d1\u603b\u6295\u5165\u5bf9\u6bd4\u56fe",
|
||
|
"target": "blank",
|
||
|
"subtarget": "blank",
|
||
|
"left": "5%",
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"textAlign": "auto",
|
||
|
"textVerticalAlign": "auto",
|
||
|
"triggerEvent": false
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"text": "2018\u5e74\u5e7f\u897f\u5404\u5730\u5e02\u7814\u53d1\u6295\u5165\u6bd4\u5206\u6790\u56fe",
|
||
|
"target": "blank",
|
||
|
"subtarget": "blank",
|
||
|
"left": "54%",
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"textAlign": "auto",
|
||
|
"textVerticalAlign": "auto",
|
||
|
"triggerEvent": false
|
||
|
}
|
||
|
],
|
||
|
"grid": [
|
||
|
{
|
||
|
"show": false,
|
||
|
"zlevel": 0,
|
||
|
"z": 2,
|
||
|
"left": "5%",
|
||
|
"top": "50px",
|
||
|
"right": "55%",
|
||
|
"bottom": "50px",
|
||
|
"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": "50px",
|
||
|
"containLabel": false,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"shadowOffsetX": 0,
|
||
|
"shadowOffsetY": 0
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
chart_b9d7dc7de1554b2eb60696020b5f0eec.setOption(option_b9d7dc7de1554b2eb60696020b5f0eec);
|
||
|
window.addEventListener('resize', function(){
|
||
|
chart_b9d7dc7de1554b2eb60696020b5f0eec.resize();
|
||
|
})
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|