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.

428 lines
12 KiB

<!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="a96155b406474ac49dbae6ecab7251d5" class="chart-container" style="width:900px; height:500px; "></div>
<script>
var chart_a96155b406474ac49dbae6ecab7251d5 = echarts.init(
document.getElementById('a96155b406474ac49dbae6ecab7251d5'), 'dark', {renderer: 'canvas'});
var option_a96155b406474ac49dbae6ecab7251d5 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"aria": {
"enabled": false
},
"series": [
{
"type": "bar",
"name": "\u7968\u623f",
"legendHoverLink": true,
"data": [
2508,
4813,
62875,
171373,
1566,
79003,
118,
36773,
0,
148,
16170,
95385,
286,
0,
8321,
0,
0,
1839,
665,
176,
200011,
836,
18835,
458,
50632,
0,
0,
0,
4963,
28586
],
"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
},
"rippleEffect": {
"show": true,
"brushType": "stroke",
"scale": 2.5,
"period": 4
}
},
{
"type": "line",
"name": "\u8bc4\u5206",
"connectNulls": false,
"xAxisIndex": 0,
"yAxisIndex": 1,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [
[
0,
0.0
],
[
1,
8.1
],
[
2,
9.3
],
[
3,
9.4
],
[
4,
9.3
],
[
5,
8.5
],
[
6,
0.0
],
[
7,
8.5
],
[
8,
0.0
],
[
9,
0.0
],
[
10,
9.7
],
[
11,
9.3
],
[
12,
0.0
],
[
13,
0.0
],
[
14,
8.2
],
[
15,
9.6
],
[
16,
0.0
],
[
17,
0.0
],
[
18,
0.0
],
[
19,
0.0
],
[
20,
9.4
],
[
21,
9.0
],
[
22,
8.6
],
[
23,
0.0
],
[
24,
8.7
],
[
25,
0.0
],
[
26,
0.0
],
[
27,
0.0
],
[
28,
0.0
],
[
29,
9.3
]
],
"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": [
"\u7968\u623f",
"\u8bc4\u5206"
],
"selected": {},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14,
"backgroundColor": "transparent",
"borderColor": "#ccc",
"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
}
],
"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": [
{
"name": "\u7535\u5f71\u540d",
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"axisLabel": {
"show": true,
"rotate": -90,
"margin": 8,
"interval": 0,
"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": [
"\u4e09\u53c9\u621f",
"\u4e0d\u80fd\u9519\u8fc7\u7684\u53ea\u6709\u4f60",
"\u4e5d\u9f99\u57ce\u5be8\u4e4b\u56f4\u57ce",
"\u4eba\u751f\u5927\u4e8b",
"\u4eca\u591c\uff0c\u5c31\u7b97\u8fd9\u4efd\u7231\u604b\u4ece\u4e16\u754c\u4e0a\u6d88\u5931",
"\u4f60\u60f3\u6d3b\u51fa\u600e\u6837\u7684\u4eba\u751f",
"\u518d\u4f1a\u957f\u6c5f",
"\u529f\u592b\u718a\u732b4",
"\u52a0\u83f2\u732b\u5bb6\u65cf",
"\u53d1\u5c0f\u513f\u4e07\u5c81",
"\u54c8\u5c14\u7684\u79fb\u52a8\u57ce\u5821",
"\u54e5\u65af\u62c9\u5927\u6218\u91d1\u521a2\uff1a\u5e1d\u56fd\u5d1b\u8d77",
"\u56db\u6708\u5973\u53cb",
"\u5742\u672c\u9f99\u4e00\uff1a\u6770\u4f5c",
"\u5f77\u5fa8\u4e4b\u5203",
"\u6211\u624d\u4e0d\u8981\u548c\u4f60\u505a\u670b\u53cb\u5462",
"\u626b\u9ed1\u00b7\u51b3\u4e0d\u653e\u5f03",
"\u671d\u4e91\u66ae\u96e8",
"\u6731\u540c\u5728\u4e09\u5e74\u7ea7\u4e22\u5931\u4e86\u8d85\u80fd\u529b",
"\u6bcd\u4eb2\u7684\u76f4\u89c9",
"\u718a\u51fa\u6ca1\u00b7\u9006\u8f6c\u65f6\u7a7a",
"\u7279\u6280\u72c2\u4eba",
"\u7329\u7403\u5d1b\u8d77\uff1a\u65b0\u4e16\u754c",
"\u76df\u519b\u6562\u6b7b\u961f",
"\u7ef4\u548c\u9632\u66b4\u961f",
"\u7f8e\u56fd\u5185\u6218",
"\u8c08\u5224\u4e13\u5bb6",
"\u8d70\u8d70\u505c\u505c",
"\u9519\u8fc7\u4f60\u7684\u90a3\u4e9b\u5e74",
"\u95f4\u8c0d\u8fc7\u5bb6\u5bb6 \u4ee3\u53f7\uff1a\u767d"
]
}
],
"yAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"axisLabel": {
"show": true,
"margin": 8,
"formatter": "{value}\u4e07\u7968"
},
"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,
"interval": 5,
"gridIndex": 0,
"axisLabel": {
"show": true,
"margin": 8,
"formatter": "{value}\u5206"
},
"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": "\u7535\u5f71\u7968\u623f\u8bc4\u5206\u5173\u7cfb\u56fe",
"target": "blank",
"subtarget": "blank",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
]
};
chart_a96155b406474ac49dbae6ecab7251d5.setOption(option_a96155b406474ac49dbae6ecab7251d5);
</script>
</body>
</html>