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.

425 lines
12 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>多折线</title>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
</head>
<body >
<div id="230081edc72b4d1bb7f50f04c025a37b" class="chart-container" style="width:1000px; height:500px; "></div>
<script>
var chart_230081edc72b4d1bb7f50f04c025a37b = echarts.init(
document.getElementById('230081edc72b4d1bb7f50f04c025a37b'), 'white', {renderer: 'canvas'});
var option_230081edc72b4d1bb7f50f04c025a37b = {
"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": "\u73af\u6bd4\u4e0a\u6708",
"connectNulls": false,
"xAxisIndex": 0,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [
[
"\u660c\u5e73\u533a",
1.41
],
[
"\u671d\u9633\u533a",
-2.98
],
[
"\u5927\u5174\u533a",
-6.43
],
[
"\u4e1c\u57ce\u533a",
1.08
],
[
"\u623f\u5c71\u533a",
-2.01
],
[
"\u4e30\u53f0\u533a",
0.83
],
[
"\u6d77\u6dc0\u533a",
1.47
],
[
"\u6000\u67d4\u533a",
-3.15
],
[
"\u95e8\u5934\u6c9f\u533a",
-3.41
],
[
"\u5bc6\u4e91\u533a",
-2.92
],
[
"\u5e73\u8c37\u533a",
1.3
],
[
"\u77f3\u666f\u5c71\u533a",
-2.23
],
[
"\u987a\u4e49\u533a",
-6.78
],
[
"\u901a\u5dde\u533a",
-1.98
],
[
"\u897f\u57ce\u533a",
0.13
],
[
"\u5ef6\u5e86\u533a",
3.0
]
],
"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
},
{
"type": "line",
"name": "\u540c\u6bd4\u4e0a\u5e74",
"connectNulls": false,
"xAxisIndex": 0,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [
[
"\u660c\u5e73\u533a",
-4.81
],
[
"\u671d\u9633\u533a",
-9.58
],
[
"\u5927\u5174\u533a",
-6.72
],
[
"\u4e1c\u57ce\u533a",
-6.47
],
[
"\u623f\u5c71\u533a",
-6.53
],
[
"\u4e30\u53f0\u533a",
-5.3
],
[
"\u6d77\u6dc0\u533a",
-5.78
],
[
"\u6000\u67d4\u533a",
-6.3
],
[
"\u95e8\u5934\u6c9f\u533a",
-7.0
],
[
"\u5bc6\u4e91\u533a",
-13.3
],
[
"\u5e73\u8c37\u533a",
-1.14
],
[
"\u77f3\u666f\u5c71\u533a",
-3.57
],
[
"\u987a\u4e49\u533a",
-13.6
],
[
"\u901a\u5dde\u533a",
-7.68
],
[
"\u897f\u57ce\u533a",
-4.71
],
[
"\u5ef6\u5e86\u533a",
-5.85
]
],
"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": [
"\u73af\u6bd4\u4e0a\u6708",
"\u540c\u6bd4\u4e0a\u5e74"
],
"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,
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": true,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
},
"data": [
"\u660c\u5e73\u533a",
"\u671d\u9633\u533a",
"\u5927\u5174\u533a",
"\u4e1c\u57ce\u533a",
"\u623f\u5c71\u533a",
"\u4e30\u53f0\u533a",
"\u6d77\u6dc0\u533a",
"\u6000\u67d4\u533a",
"\u95e8\u5934\u6c9f\u533a",
"\u5bc6\u4e91\u533a",
"\u5e73\u8c37\u533a",
"\u77f3\u666f\u5c71\u533a",
"\u987a\u4e49\u533a",
"\u901a\u5dde\u533a",
"\u897f\u57ce\u533a",
"\u5ef6\u5e86\u533a"
]
}
],
"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"
}
}
}
],
"title": [
{
"show": true,
"text": "\u5317\u4eac\u5e02\u533a\u623f\u4ef7\u8d8b\u52bf\u56fe",
"target": "blank",
"subtarget": "blank",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
],
"toolbox": {
"show": true,
"orient": "horizontal",
"itemSize": 15,
"itemGap": 10,
"left": "80%",
"feature": {
"saveAsImage": {
"type": "png",
"backgroundColor": "auto",
"connectedBackgroundColor": "#fff",
"show": true,
"title": "\u4fdd\u5b58\u4e3a\u56fe\u7247",
"pixelRatio": 1
},
"restore": {
"show": true,
"title": "\u8fd8\u539f"
},
"dataView": {
"show": true,
"title": "\u6570\u636e\u89c6\u56fe",
"readOnly": false,
"lang": [
"\u6570\u636e\u89c6\u56fe",
"\u5173\u95ed",
"\u5237\u65b0"
],
"backgroundColor": "#fff",
"textareaColor": "#fff",
"textareaBorderColor": "#333",
"textColor": "#000",
"buttonColor": "#c23531",
"buttonTextColor": "#fff"
},
"dataZoom": {
"show": true,
"title": {
"zoom": "\u533a\u57df\u7f29\u653e",
"back": "\u533a\u57df\u7f29\u653e\u8fd8\u539f"
},
"icon": {},
"filterMode": "filter"
},
"magicType": {
"show": true,
"type": [
"line",
"bar",
"stack",
"tiled"
],
"title": {
"line": "\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",
"bar": "\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",
"stack": "\u5207\u6362\u4e3a\u5806\u53e0",
"tiled": "\u5207\u6362\u4e3a\u5e73\u94fa"
},
"icon": {}
}
}
}
};
chart_230081edc72b4d1bb7f50f04c025a37b.setOption(option_230081edc72b4d1bb7f50f04c025a37b);
</script>
</body>
</html>