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.

1131 lines
30 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>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/themes/shine.js"></script>
</head>
<body >
<style>.box { } </style>
<div class="box">
<div id="88977883ed0f4b728a9eb55bd5d9922e" class="chart-container" style="width:900px; height:500px; "></div>
<script>
var chart_88977883ed0f4b728a9eb55bd5d9922e = echarts.init(
document.getElementById('88977883ed0f4b728a9eb55bd5d9922e'), 'white', {renderer: 'canvas'});
var option_88977883ed0f4b728a9eb55bd5d9922e = {
"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": "line",
"name": "\u51fa\u7248\u4e66\u7c4d\u6570\u91cf",
"connectNulls": false,
"xAxisIndex": 0,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [
[
"1973",
2
],
[
"1974",
0
],
[
"1975",
0
],
[
"1976",
0
],
[
"1977",
0
],
[
"1978",
0
],
[
"1979",
0
],
[
"1980",
0
],
[
"1981",
2
],
[
"1982",
0
],
[
"1983",
0
],
[
"1984",
0
],
[
"1985",
0
],
[
"1986",
0
],
[
"1987",
0
],
[
"1988",
0
],
[
"1989",
0
],
[
"1990",
0
],
[
"1991",
0
],
[
"1992",
0
],
[
"1993",
0
],
[
"1994",
1
],
[
"1995",
0
],
[
"1996",
1
],
[
"1997",
2
],
[
"1998",
1
],
[
"1999",
0
],
[
"2000",
1
],
[
"2001",
0
],
[
"2002",
0
],
[
"2003",
2
],
[
"2004",
0
],
[
"2005",
0
],
[
"2006",
0
],
[
"2007",
1
],
[
"2008",
1
],
[
"2009",
1
],
[
"2010",
1
],
[
"2011",
1
],
[
"2012",
3
],
[
"2013",
2
],
[
"2014",
0
],
[
"2015",
0
],
[
"2016",
0
],
[
"2017",
2
],
[
"2018",
2
]
],
"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
},
"markPoint": {
"label": {
"show": true,
"position": "inside",
"color": "#fff",
"margin": 8
},
"data": [
{
"name": "\u6700\u5927\u503c",
"type": "max"
},
{
"name": "\u6700\u5c0f\u503c",
"type": "min"
}
]
},
"markLine": {
"silent": false,
"precision": 2,
"label": {
"show": true,
"margin": 8
},
"data": [
{
"name": "\u5e73\u5747\u503c",
"type": "average"
}
]
},
"zlevel": 0,
"z": 0
}
],
"legend": [
{
"data": [
"\u51fa\u7248\u4e66\u7c4d\u6570\u91cf"
],
"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": "\u5e74\u4efd",
"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": [
"1973",
"1974",
"1975",
"1976",
"1977",
"1978",
"1979",
"1980",
"1981",
"1982",
"1983",
"1984",
"1985",
"1986",
"1987",
"1988",
"1989",
"1990",
"1991",
"1992",
"1993",
"1994",
"1995",
"1996",
"1997",
"1998",
"1999",
"2000",
"2001",
"2002",
"2003",
"2004",
"2005",
"2006",
"2007",
"2008",
"2009",
"2010",
"2011",
"2012",
"2013",
"2014",
"2015",
"2016",
"2017",
"2018"
]
}
],
"yAxis": [
{
"name": "\u4e66\u7c4d\u6570\u91cf",
"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"
}
}
}
],
"title": [
{
"show": true,
"text": "\u5e74\u4efd\u4e0e\u51fa\u7248\u4e66\u7c4d\u6570\u91cf\u53d8\u5316",
"target": "blank",
"subtarget": "blank",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
]
};
chart_88977883ed0f4b728a9eb55bd5d9922e.setOption(option_88977883ed0f4b728a9eb55bd5d9922e);
</script>
<br/> <div id="582ae32ddd454eb3946b339038c8ff6b" class="chart-container" style="width:850px; height:400px; "></div>
<script>
var chart_582ae32ddd454eb3946b339038c8ff6b = echarts.init(
document.getElementById('582ae32ddd454eb3946b339038c8ff6b'), 'shine', {renderer: 'canvas'});
var option_582ae32ddd454eb3946b339038c8ff6b = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"aria": {
"enabled": false
},
"series": [
{
"type": "bar",
"name": "\u8bc4\u5206",
"legendHoverLink": true,
"data": [
9.3,
9.3,
9.3,
9.3,
9.4,
9.4,
9.5,
9.5,
9.6,
9.7
],
"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
}
}
],
"legend": [
{
"data": [
"\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": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"axisLabel": {
"show": true,
"rotate": 0,
"margin": 8
},
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": true,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
}
}
],
"yAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"axisLabel": {
"show": true,
"rotate": -45,
"margin": 8
},
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": true,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
},
"data": [
"\u52a8\u7269\u519c\u573a",
"\u4e09\u56fd\u6f14\u4e49\uff08\u5168\u4e8c\u518c\uff09",
"\u98d8",
"\u767e\u5e74\u5b64\u72ec",
"1984",
"\u6d3b\u7740",
"\u91ce\u8349",
"\u4e09\u4f53\u5168\u96c6",
"\u7ea2\u697c\u68a6",
"\u54c8\u5229\u00b7\u6ce2\u7279"
]
}
],
"title": [
{
"show": true,
"text": "\u8bc4\u5206\u524d10\u699c",
"target": "blank",
"subtarget": "blank",
"left": "center",
"bottom": "bottom",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
]
};
chart_582ae32ddd454eb3946b339038c8ff6b.setOption(option_582ae32ddd454eb3946b339038c8ff6b);
</script>
<br/> <div id="16ae4fd9c8ba4277970d921a796fd5ef" class="chart-container" style="width:900px; height:500px; "></div>
<script>
var chart_16ae4fd9c8ba4277970d921a796fd5ef = echarts.init(
document.getElementById('16ae4fd9c8ba4277970d921a796fd5ef'), 'white', {renderer: 'canvas'});
var option_16ae4fd9c8ba4277970d921a796fd5ef = {
"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",
"#bb60b4",
"#8B008B",
"#FF1493",
"#1E90FF",
"#20B2AA",
"#2E8B57",
"#B22222",
"#FF4500",
"#4682B4",
"#DAA520",
"#32CD32"
],
"series": [
{
"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": " \u4eba\u6c11\u6587\u5b66\u51fa\u7248\u793e ",
"value": 9
},
{
"name": " \u4f5c\u5bb6\u51fa\u7248\u793e ",
"value": 1
},
{
"name": " \u5317\u4eac\u5341\u6708\u6587\u827a\u51fa\u7248\u793e ",
"value": 1
},
{
"name": " \u91cd\u5e86\u51fa\u7248\u793e ",
"value": 1
},
{
"name": " \u5357\u6d77\u51fa\u7248\u516c\u53f8 ",
"value": 2
},
{
"name": " \u8bd1\u6797\u51fa\u7248\u793e ",
"value": 2
},
{
"name": " \u4e0a\u6d77\u8bd1\u6587\u51fa\u7248\u793e ",
"value": 1
},
{
"name": " \u5317\u4eac\u8054\u5408\u51fa\u7248\u516c\u53f8 ",
"value": 1
},
{
"name": " \u7fa4\u4f17\u51fa\u7248\u793e ",
"value": 2
},
{
"name": " \u751f\u6d3b\u00b7\u8bfb\u4e66\u00b7\u65b0\u77e5\u4e09\u8054\u4e66\u5e97 ",
"value": 2
},
{
"name": " \u54c8\u5c14\u6ee8\u51fa\u7248\u793e ",
"value": 1
},
{
"name": " \u5929\u6d25\u4eba\u6c11\u51fa\u7248\u793e ",
"value": 1
},
{
"name": " \u4e2d\u56fd\u6d77\u5173\u51fa\u7248\u793e ",
"value": 1
},
{
"name": " \u4e2d\u56fd\u9752\u5e74\u51fa\u7248\u793e ",
"value": 1
}
],
"radius": [
"0%",
"75%"
],
"center": [
"50%",
"50%"
],
"label": {
"show": true,
"margin": 8,
"formatter": "{b}: {c}"
},
"labelLine": {
"show": true,
"showAbove": false,
"length": 15,
"length2": 15,
"smooth": false,
"minTurnAngle": 90,
"maxSurfaceAngle": 90
},
"rippleEffect": {
"show": true,
"brushType": "stroke",
"scale": 2.5,
"period": 4
}
}
],
"legend": [
{
"data": [
" \u4eba\u6c11\u6587\u5b66\u51fa\u7248\u793e ",
" \u4f5c\u5bb6\u51fa\u7248\u793e ",
" \u5317\u4eac\u5341\u6708\u6587\u827a\u51fa\u7248\u793e ",
" \u91cd\u5e86\u51fa\u7248\u793e ",
" \u5357\u6d77\u51fa\u7248\u516c\u53f8 ",
" \u8bd1\u6797\u51fa\u7248\u793e ",
" \u4e0a\u6d77\u8bd1\u6587\u51fa\u7248\u793e ",
" \u5317\u4eac\u8054\u5408\u51fa\u7248\u516c\u53f8 ",
" \u7fa4\u4f17\u51fa\u7248\u793e ",
" \u751f\u6d3b\u00b7\u8bfb\u4e66\u00b7\u65b0\u77e5\u4e09\u8054\u4e66\u5e97 ",
" \u54c8\u5c14\u6ee8\u51fa\u7248\u793e ",
" \u5929\u6d25\u4eba\u6c11\u51fa\u7248\u793e ",
" \u4e2d\u56fd\u6d77\u5173\u51fa\u7248\u793e ",
" \u4e2d\u56fd\u9752\u5e74\u51fa\u7248\u793e "
],
"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"
},
"title": [
{
"show": true,
"text": "\u51fa\u7248\u5546\u5206\u5e03\u997c\u56fe",
"target": "blank",
"subtarget": "blank",
"left": "center",
"bottom": "bottom",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
]
};
chart_16ae4fd9c8ba4277970d921a796fd5ef.setOption(option_16ae4fd9c8ba4277970d921a796fd5ef);
</script>
<br/> <div id="0e6799b4f50541e8a55bc090a69855b3" class="chart-container" style="width:900px; height:500px; "></div>
<script>
var chart_0e6799b4f50541e8a55bc090a69855b3 = echarts.init(
document.getElementById('0e6799b4f50541e8a55bc090a69855b3'), 'white', {renderer: 'canvas'});
var option_0e6799b4f50541e8a55bc090a69855b3 = {
"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": "line",
"name": "\u4e66\u7c4d\u6570\u91cf",
"connectNulls": false,
"xAxisIndex": 0,
"symbol": "circle",
"symbolSize": 4,
"showSymbol": true,
"smooth": true,
"clip": true,
"step": false,
"data": [
[
"0-50",
16
],
[
"50-100",
7
],
[
"100-150",
0
],
[
"150-200",
1
],
[
"200-250",
0
],
[
"250-300",
0
],
[
"300-350",
0
],
[
"350-400",
1
],
[
"400-450",
0
],
[
"450-500",
1
]
],
"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
},
"markPoint": {
"label": {
"show": true,
"position": "inside",
"color": "#fff",
"margin": 8
},
"data": [
{
"type": "max"
}
]
},
"zlevel": 0,
"z": 0
}
],
"legend": [
{
"data": [
"\u4e66\u7c4d\u6570\u91cf"
],
"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": "\u4ef7\u683c\u533a\u95f4",
"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": [
"0-50",
"50-100",
"100-150",
"150-200",
"200-250",
"250-300",
"300-350",
"350-400",
"400-450",
"450-500"
]
}
],
"yAxis": [
{
"name": "\u4e66\u7c4d\u6570\u91cf",
"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"
}
}
}
],
"title": [
{
"show": true,
"text": "\u4ef7\u683c\u533a\u95f4\u4e0e\u4e66\u7c4d\u6570\u91cf\u6298\u7ebf\u56fe",
"target": "blank",
"subtarget": "blank",
"left": "center",
"bottom": "bottom",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
],
"dataZoom": {
"show": true,
"type": "slider",
"showDetail": true,
"showDataShadow": true,
"realtime": true,
"start": 0,
"end": 100,
"orient": "horizontal",
"zoomLock": false,
"filterMode": "filter"
}
};
chart_0e6799b4f50541e8a55bc090a69855b3.setOption(option_0e6799b4f50541e8a55bc090a69855b3);
</script>
<br/> </div>
<script>
</script>
</body>
</html>