Commit 29c2a438 by BellCodeEditor

save project

parent ea71c2cd
......@@ -7,11 +7,11 @@
</head>
<body>
<div id="ac98ece72f824d6a8e16830e7d9bcbdf" class="chart-container" style="width:900px; height:500px;"></div>
<div id="7f648bf9f09d4f029586f3d0845a67a9" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_ac98ece72f824d6a8e16830e7d9bcbdf = echarts.init(
document.getElementById('ac98ece72f824d6a8e16830e7d9bcbdf'), 'white', {renderer: 'canvas'});
var option_ac98ece72f824d6a8e16830e7d9bcbdf = {
var chart_7f648bf9f09d4f029586f3d0845a67a9 = echarts.init(
document.getElementById('7f648bf9f09d4f029586f3d0845a67a9'), 'white', {renderer: 'canvas'});
var option_7f648bf9f09d4f029586f3d0845a67a9 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
......@@ -259,7 +259,7 @@
},
{
"type": "line",
"name": "shabi\u6d48\u6d48",
"name": "\u6d48\u6d48",
"connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
......@@ -273,39 +273,39 @@
],
[
"\u7b2c2\u6b21",
999
9.99
],
[
"\u7b2c3\u6b21",
2000
2.0001
],
[
"\u7b2c4\u6b21",
777
7.77
],
[
"\u7b2c5\u6b21",
1600
1.6001
],
[
"\u7b2c6\u6b21",
666
6.66
],
[
"\u7b2c7\u6b21",
1400
1.4001
],
[
"\u7b2c8\u6b21",
555
5.55
],
[
"\u7b2c9\u6b21",
1200
1.2001
],
[
"\u7b2c10\u6b21",
444
4.44
]
],
"hoverAnimation": true,
......@@ -334,14 +334,19 @@
"\u806a\u806a",
"\u5c0f\u6770",
"\u76ae\u76ae",
"shabi\u6d48\u6d48"
"\u6d48\u6d48"
],
"selected": {
"\u806a\u806a": true,
"\u5c0f\u6770": true,
"\u76ae\u76ae": true,
"shabi\u6d48\u6d48": true
}
"\u6d48\u6d48": true
},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14
}
],
"tooltip": {
......@@ -418,9 +423,13 @@
}
}
}
]
],
"title": {
"text": "2022\u7b2c\u4e00\u5b66\u671f\u6570\u5b66\u6d4b\u8bd5\u5206\u6570",
"subtext": "\u5355\u4f4d\uff1a\u5206"
}
};
chart_ac98ece72f824d6a8e16830e7d9bcbdf.setOption(option_ac98ece72f824d6a8e16830e7d9bcbdf);
chart_7f648bf9f09d4f029586f3d0845a67a9.setOption(option_7f648bf9f09d4f029586f3d0845a67a9);
</script>
</body>
</html>
......@@ -4,11 +4,12 @@ test = ["第1次","第2次","第3次","第4次","第5次","第6次","第7次","
student1 = [112, 110, 118, 124, 129, 132, 136, 139, 144, 143] # 聪聪
student2 = [128, 131, 132, 129, 130, 127, 129, 131, 132, 128] # 小杰
student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮
stupid1 = [0.1, 999,2000,777,1600,666, 1400, 555,1200,444,]
stupid1 = [0.1, 9.99,2.0001,7.77,1.6001,6.66, 1.4001, 5.55,1.2001,4.44,]
line = Line()
line.add_xaxis(test)
line.add_yaxis("聪聪",student1)
line.add_yaxis("小杰",student2)
line.add_yaxis("皮皮",student3)
line.add_yaxis("shabi浈浈",stupid1)
line.add_yaxis("浈浈",stupid1)
line.set_global_opts(title_opts = {"text":"2022第一学期数学测试分数","subtext":"单位:分"})
line.render("hahahahahahahazhengzhengshigedashabi.html")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment