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.
585 lines
16 KiB
585 lines
16 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="76e98bf0e56d4ee99d70eefd2c0cce7c" class="chart-container" style="width:100%; height:1000px; "></div>
|
||
|
<script>
|
||
|
var chart_76e98bf0e56d4ee99d70eefd2c0cce7c = echarts.init(
|
||
|
document.getElementById('76e98bf0e56d4ee99d70eefd2c0cce7c'), 'white', {renderer: 'canvas'});
|
||
|
var option_76e98bf0e56d4ee99d70eefd2c0cce7c = {
|
||
|
"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": "\u521b\u65b0\u80fd\u529b",
|
||
|
"xAxisIndex": 0,
|
||
|
"yAxisIndex": 0,
|
||
|
"legendHoverLink": true,
|
||
|
"data": [
|
||
|
0.91922,
|
||
|
0.29186,
|
||
|
0.07183,
|
||
|
0.04824,
|
||
|
0.01206,
|
||
|
0.01148,
|
||
|
0.01124,
|
||
|
0.00667,
|
||
|
0.00616,
|
||
|
0.00555,
|
||
|
0.00421,
|
||
|
0.00305,
|
||
|
0.00256,
|
||
|
0.00207
|
||
|
],
|
||
|
"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,
|
||
|
"position": "top",
|
||
|
"margin": 8,
|
||
|
"formatter": "{c}"
|
||
|
},
|
||
|
"rippleEffect": {
|
||
|
"show": true,
|
||
|
"brushType": "stroke",
|
||
|
"scale": 2.5,
|
||
|
"period": 4
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "bar",
|
||
|
"name": "\u7ecf\u6d4e\u6d3b\u529b\u6307\u6570",
|
||
|
"xAxisIndex": 1,
|
||
|
"yAxisIndex": 1,
|
||
|
"legendHoverLink": true,
|
||
|
"data": [
|
||
|
0.83,
|
||
|
0.81,
|
||
|
0.25,
|
||
|
0.2,
|
||
|
0.15,
|
||
|
0.14,
|
||
|
0.11,
|
||
|
0.09,
|
||
|
0.09,
|
||
|
0.04,
|
||
|
0.04,
|
||
|
0.03,
|
||
|
0.03,
|
||
|
0.02
|
||
|
],
|
||
|
"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,
|
||
|
"position": "top",
|
||
|
"margin": 8,
|
||
|
"formatter": "{c}"
|
||
|
},
|
||
|
"rippleEffect": {
|
||
|
"show": true,
|
||
|
"brushType": "stroke",
|
||
|
"scale": 2.5,
|
||
|
"period": 4
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "bar",
|
||
|
"name": "\u6295\u8d44\u6f5c\u529b",
|
||
|
"xAxisIndex": 2,
|
||
|
"yAxisIndex": 2,
|
||
|
"legendHoverLink": true,
|
||
|
"data": [
|
||
|
0.91,
|
||
|
0.83,
|
||
|
0.28,
|
||
|
0.22,
|
||
|
0.19,
|
||
|
0.14,
|
||
|
0.14,
|
||
|
0.11,
|
||
|
0.11,
|
||
|
0.06,
|
||
|
0.04,
|
||
|
0.04,
|
||
|
0.03,
|
||
|
0.03
|
||
|
],
|
||
|
"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,
|
||
|
"position": "top",
|
||
|
"margin": 8,
|
||
|
"formatter": "{c}"
|
||
|
},
|
||
|
"rippleEffect": {
|
||
|
"show": true,
|
||
|
"brushType": "stroke",
|
||
|
"scale": 2.5,
|
||
|
"period": 4
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"legend": [
|
||
|
{
|
||
|
"data": [
|
||
|
"\u521b\u65b0\u80fd\u529b"
|
||
|
],
|
||
|
"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": [
|
||
|
"\u7ecf\u6d4e\u6d3b\u529b\u6307\u6570"
|
||
|
],
|
||
|
"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": [
|
||
|
"\u6295\u8d44\u6f5c\u529b"
|
||
|
],
|
||
|
"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": "30%",
|
||
|
"top": "500px",
|
||
|
"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,
|
||
|
"rotate": -30,
|
||
|
"margin": 8,
|
||
|
"fontSize": 10
|
||
|
},
|
||
|
"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",
|
||
|
"\u67f3\u5dde\u5e02",
|
||
|
"\u6842\u6797\u5e02",
|
||
|
"\u9632\u57ce\u6e2f\u5e02",
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
"\u7389\u6797\u5e02",
|
||
|
"\u767e\u8272\u5e02",
|
||
|
"\u68a7\u5dde\u5e02",
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
"\u6cb3\u6c60\u5e02",
|
||
|
"\u8d3a\u5dde\u5e02",
|
||
|
"\u8d35\u6e2f\u5e02",
|
||
|
"\u6765\u5bbe\u5e02"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"scale": false,
|
||
|
"nameLocation": "end",
|
||
|
"nameGap": 15,
|
||
|
"gridIndex": 1,
|
||
|
"axisLabel": {
|
||
|
"show": true,
|
||
|
"rotate": -30,
|
||
|
"margin": 8,
|
||
|
"fontSize": 10
|
||
|
},
|
||
|
"inverse": false,
|
||
|
"offset": 0,
|
||
|
"splitNumber": 5,
|
||
|
"minInterval": 0,
|
||
|
"splitLine": {
|
||
|
"show": true,
|
||
|
"lineStyle": {
|
||
|
"show": true,
|
||
|
"width": 1,
|
||
|
"opacity": 1,
|
||
|
"curveness": 0,
|
||
|
"type": "solid"
|
||
|
}
|
||
|
},
|
||
|
"data": [
|
||
|
"\u67f3\u5dde\u5e02",
|
||
|
"\u5357\u5b81\u5e02",
|
||
|
"\u6842\u6797\u5e02",
|
||
|
"\u9632\u57ce\u6e2f\u5e02",
|
||
|
"\u767e\u8272\u5e02",
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
"\u7389\u6797\u5e02",
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
"\u68a7\u5dde\u5e02",
|
||
|
"\u6cb3\u6c60\u5e02",
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
"\u8d35\u6e2f\u5e02",
|
||
|
"\u8d3a\u5dde\u5e02",
|
||
|
"\u6765\u5bbe\u5e02"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"scale": false,
|
||
|
"nameLocation": "end",
|
||
|
"nameGap": 15,
|
||
|
"gridIndex": 2,
|
||
|
"axisLabel": {
|
||
|
"show": true,
|
||
|
"rotate": -30,
|
||
|
"margin": 8,
|
||
|
"fontSize": 10
|
||
|
},
|
||
|
"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",
|
||
|
"\u67f3\u5dde\u5e02",
|
||
|
"\u6842\u6797\u5e02",
|
||
|
"\u9632\u57ce\u6e2f\u5e02",
|
||
|
"\u767e\u8272\u5e02",
|
||
|
"\u7389\u6797\u5e02",
|
||
|
"\u94a6\u5dde\u5e02",
|
||
|
"\u5317\u6d77\u5e02",
|
||
|
"\u68a7\u5dde\u5e02",
|
||
|
"\u5d07\u5de6\u5e02",
|
||
|
"\u8d35\u6e2f\u5e02",
|
||
|
"\u8d3a\u5dde\u5e02",
|
||
|
"\u6cb3\u6c60\u5e02",
|
||
|
"\u6765\u5bbe\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"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"show": true,
|
||
|
"scale": false,
|
||
|
"nameLocation": "end",
|
||
|
"nameGap": 15,
|
||
|
"gridIndex": 2,
|
||
|
"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\u521b\u65b0\u80fd\u529b\u5206\u6790\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\u5730\u57df\u7ecf\u6d4e\u6d3b\u529b\u5206\u6790\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\u6295\u8d44\u6f5c\u529b\u5206\u6790\u56fe",
|
||
|
"target": "blank",
|
||
|
"subtarget": "blank",
|
||
|
"left": "30%",
|
||
|
"top": "500px",
|
||
|
"padding": 5,
|
||
|
"itemGap": 10,
|
||
|
"textAlign": "auto",
|
||
|
"textVerticalAlign": "auto",
|
||
|
"triggerEvent": false
|
||
|
}
|
||
|
],
|
||
|
"grid": [
|
||
|
{
|
||
|
"show": false,
|
||
|
"zlevel": 0,
|
||
|
"z": 2,
|
||
|
"left": "5%",
|
||
|
"top": "50px",
|
||
|
"right": "55%",
|
||
|
"bottom": "550px",
|
||
|
"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": "550px",
|
||
|
"containLabel": false,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"shadowOffsetX": 0,
|
||
|
"shadowOffsetY": 0
|
||
|
},
|
||
|
{
|
||
|
"show": false,
|
||
|
"zlevel": 0,
|
||
|
"z": 2,
|
||
|
"left": "30%",
|
||
|
"top": "550px",
|
||
|
"right": "30%",
|
||
|
"bottom": "50px",
|
||
|
"containLabel": false,
|
||
|
"backgroundColor": "transparent",
|
||
|
"borderColor": "#ccc",
|
||
|
"borderWidth": 1,
|
||
|
"shadowOffsetX": 0,
|
||
|
"shadowOffsetY": 0
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
chart_76e98bf0e56d4ee99d70eefd2c0cce7c.setOption(option_76e98bf0e56d4ee99d70eefd2c0cce7c);
|
||
|
window.addEventListener('resize', function(){
|
||
|
chart_76e98bf0e56d4ee99d70eefd2c0cce7c.resize();
|
||
|
})
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|