Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson24-diy3
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
661d0a86
authored
Jun 22, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
abbd1159
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
analysis.html
my_analysis.py
analysis.html
View file @
661d0a86
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
</head>
</head>
<body>
<body>
<div
id=
"2
aa0554c306e47d5a0108155e6e0943a
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"2
5bfdeb8c1bc49fc934b833002987029
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
<script>
var
chart_2
aa0554c306e47d5a0108155e6e0943a
=
echarts
.
init
(
var
chart_2
5bfdeb8c1bc49fc934b833002987029
=
echarts
.
init
(
document
.
getElementById
(
'2
aa0554c306e47d5a0108155e6e0943a
'
),
'white'
,
{
renderer
:
'canvas'
});
document
.
getElementById
(
'2
5bfdeb8c1bc49fc934b833002987029
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_2
aa0554c306e47d5a0108155e6e0943a
=
{
var
option_2
5bfdeb8c1bc49fc934b833002987029
=
{
"animation"
:
true
,
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
"animationDuration"
:
1000
,
...
@@ -133,7 +133,7 @@
...
@@ -133,7 +133,7 @@
],
],
[
[
"\u7b2c2\u6b21"
,
"\u7b2c2\u6b21"
,
13
1
1
3
],
],
[
[
"\u7b2c3\u6b21"
,
"\u7b2c3\u6b21"
,
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
],
],
[
[
"\u7b2c4\u6b21"
,
"\u7b2c4\u6b21"
,
12
1
1
2
],
],
[
[
"\u7b2c5\u6b21"
,
"\u7b2c5\u6b21"
,
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
],
],
[
[
"\u7b2c6\u6b21"
,
"\u7b2c6\u6b21"
,
12
1
1
2
],
],
[
[
"\u7b2c7\u6b21"
,
"\u7b2c7\u6b21"
,
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
],
],
[
[
"\u7b2c8\u6b21"
,
"\u7b2c8\u6b21"
,
13
1
1
3
],
],
[
[
"\u7b2c9\u6b21"
,
"\u7b2c9\u6b21"
,
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
],
],
[
[
"\u7b2c10\u6b21"
,
"\u7b2c10\u6b21"
,
12
12
2
]
]
],
],
"hoverAnimation"
:
true
,
"hoverAnimation"
:
true
,
...
@@ -199,7 +199,7 @@
...
@@ -199,7 +199,7 @@
"data"
:
[
"data"
:
[
[
[
"\u7b2c1\u6b21"
,
"\u7b2c1\u6b21"
,
43
1
43
],
],
[
[
"\u7b2c2\u6b21"
,
"\u7b2c2\u6b21"
,
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
],
],
[
[
"\u7b2c3\u6b21"
,
"\u7b2c3\u6b21"
,
40
1
40
],
],
[
[
"\u7b2c4\u6b21"
,
"\u7b2c4\u6b21"
,
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
],
],
[
[
"\u7b2c5\u6b21"
,
"\u7b2c5\u6b21"
,
94
1
94
],
],
[
[
"\u7b2c6\u6b21"
,
"\u7b2c6\u6b21"
,
...
@@ -223,7 +223,7 @@
...
@@ -223,7 +223,7 @@
],
],
[
[
"\u7b2c7\u6b21"
,
"\u7b2c7\u6b21"
,
21
1
21
],
],
[
[
"\u7b2c8\u6b21"
,
"\u7b2c8\u6b21"
,
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
],
],
[
[
"\u7b2c9\u6b21"
,
"\u7b2c9\u6b21"
,
44
1
44
],
],
[
[
"\u7b2c10\u6b21"
,
"\u7b2c10\u6b21"
,
...
@@ -357,7 +357,7 @@
...
@@ -357,7 +357,7 @@
"subtext"
:
"\u9ad8254\u73ed\u6570\u5b66"
"subtext"
:
"\u9ad8254\u73ed\u6570\u5b66"
}
}
};
};
chart_2
aa0554c306e47d5a0108155e6e0943a
.
setOption
(
option_2aa0554c306e47d5a0108155e6e0943a
);
chart_2
5bfdeb8c1bc49fc934b833002987029
.
setOption
(
option_25bfdeb8c1bc49fc934b833002987029
);
</script>
</script>
</body>
</body>
</html>
</html>
my_analysis.py
View file @
661d0a86
...
@@ -2,8 +2,8 @@ from pyecharts.charts import Line
...
@@ -2,8 +2,8 @@ from pyecharts.charts import Line
test
=
[
"第1次"
,
"第2次"
,
"第3次"
,
"第4次"
,
"第5次"
,
"第6次"
,
"第7次"
,
"第8次"
,
"第9次"
,
"第10次"
]
test
=
[
"第1次"
,
"第2次"
,
"第3次"
,
"第4次"
,
"第5次"
,
"第6次"
,
"第7次"
,
"第8次"
,
"第9次"
,
"第10次"
]
student1
=
[
89
,
10
,
78
,
23
,
129
,
32
,
86
,
45
,
84
,
13
]
# 聪聪
student1
=
[
89
,
10
,
78
,
23
,
129
,
32
,
86
,
45
,
84
,
13
]
# 聪聪
student2
=
[
12
,
1
3
,
12
,
12
,
13
,
12
,
12
,
13
,
13
,
1
2
]
# 小杰
student2
=
[
12
,
1
13
,
12
,
112
,
13
,
112
,
12
,
113
,
13
,
12
2
]
# 小杰
student3
=
[
43
,
45
,
40
,
33
,
94
,
76
,
21
,
20
,
44
,
35
]
# 皮皮
student3
=
[
143
,
45
,
140
,
33
,
194
,
76
,
121
,
20
,
1
44
,
35
]
# 皮皮
line
=
Line
()
line
=
Line
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment