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
8ce24902
authored
Nov 04, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
91dfdaaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
17 deletions
my_analysis.py
render.html
my_analysis.py
View file @
8ce24902
...
...
@@ -6,10 +6,13 @@ student2 = [128, 131, 132, 129, 130, 127, 129, 131, 132, 128] # 小杰
student3
=
[
143
,
145
,
140
,
133
,
134
,
126
,
121
,
120
,
114
,
105
]
# 皮皮
line
=
Line
()
line
line
=
line
.
add_xaxis
(
test
)
line
=
line
.
add_yaxis
(
'1'
,
student1
)
line
=
line
.
add_yaxis
(
'2'
,
student2
)
line
=
line
.
add_yaxis
(
'3'
,
student3
)
line
=
line
.
add_yaxis
(
'
student
1'
,
student1
)
line
=
line
.
add_yaxis
(
'
student
2'
,
student2
)
line
=
line
.
add_yaxis
(
'
student
3'
,
student3
)
line
.
render
()
\ No newline at end of file
render.html
View file @
8ce24902
...
...
@@ -7,11 +7,11 @@
</head>
<body>
<div
id=
"
48652dcdfe2d4938b8072db84a591c14
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"
b079f2d69ba1425a896bdffded9351f1
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
var
chart_
48652dcdfe2d4938b8072db84a591c14
=
echarts
.
init
(
document
.
getElementById
(
'
48652dcdfe2d4938b8072db84a591c14
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
48652dcdfe2d4938b8072db84a591c14
=
{
var
chart_
b079f2d69ba1425a896bdffded9351f1
=
echarts
.
init
(
document
.
getElementById
(
'
b079f2d69ba1425a896bdffded9351f1
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
b079f2d69ba1425a896bdffded9351f1
=
{
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
...
...
@@ -49,7 +49,7 @@
"series"
:
[
{
"type"
:
"line"
,
"name"
:
"1"
,
"name"
:
"
student
1"
,
"connectNulls"
:
false
,
"symbolSize"
:
4
,
"showSymbol"
:
true
,
...
...
@@ -119,7 +119,7 @@
},
{
"type"
:
"line"
,
"name"
:
"2"
,
"name"
:
"
student
2"
,
"connectNulls"
:
false
,
"symbolSize"
:
4
,
"showSymbol"
:
true
,
...
...
@@ -189,7 +189,7 @@
},
{
"type"
:
"line"
,
"name"
:
"3"
,
"name"
:
"
student
3"
,
"connectNulls"
:
false
,
"symbolSize"
:
4
,
"showSymbol"
:
true
,
...
...
@@ -261,14 +261,14 @@
"legend"
:
[
{
"data"
:
[
"1"
,
"2"
,
"3"
"
student
1"
,
"
student
2"
,
"
student
3"
],
"selected"
:
{
"1"
:
true
,
"2"
:
true
,
"3"
:
true
"
student
1"
:
true
,
"
student
2"
:
true
,
"
student
3"
:
true
}
}
],
...
...
@@ -348,7 +348,7 @@
}
]
};
chart_
48652dcdfe2d4938b8072db84a591c14
.
setOption
(
option_48652dcdfe2d4938b8072db84a591c14
);
chart_
b079f2d69ba1425a896bdffded9351f1
.
setOption
(
option_b079f2d69ba1425a896bdffded9351f1
);
</script>
</body>
</html>
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