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
7c1e2ced
authored
Dec 24, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
71700543
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
12345678910.html
my_analysis.py
12345678910.html
View file @
7c1e2ced
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
</head>
</head>
<body>
<body>
<div
id=
"
eb1ef27456b14f80a73c5be32c1ef3f4
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"
099d1aaa8463479985d6c0dfada01a9a
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
<script>
var
chart_
eb1ef27456b14f80a73c5be32c1ef3f4
=
echarts
.
init
(
var
chart_
099d1aaa8463479985d6c0dfada01a9a
=
echarts
.
init
(
document
.
getElementById
(
'
eb1ef27456b14f80a73c5be32c1ef3f4
'
),
'white'
,
{
renderer
:
'canvas'
});
document
.
getElementById
(
'
099d1aaa8463479985d6c0dfada01a9a
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
eb1ef27456b14f80a73c5be32c1ef3f4
=
{
var
option_
099d1aaa8463479985d6c0dfada01a9a
=
{
"animation"
:
true
,
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
"animationDuration"
:
1000
,
...
@@ -353,13 +353,11 @@
...
@@ -353,13 +353,11 @@
}
}
],
],
"title"
:
{
"title"
:
{
"test"
:
"\u5c0f\u6770\uff0c\u806a\u806a\u548c\u76ae\u76ae\u7684\u6210\u7ee9"
,
"text"
:
"\u6210\u7ee9\u8d70\u52bf\u56fe"
,
"student1"
:
"\u5355\u4f4d\uff1a\u5206"
,
"subtext"
:
"\u9ad8254\u73ed\u5b66\u751f"
"student2"
:
"\u5355\u4f4d\uff1a\u5206"
,
"student3"
:
"\u5355\u4f4d\uff1a\u5206"
}
}
};
};
chart_
eb1ef27456b14f80a73c5be32c1ef3f4
.
setOption
(
option_eb1ef27456b14f80a73c5be32c1ef3f4
);
chart_
099d1aaa8463479985d6c0dfada01a9a
.
setOption
(
option_099d1aaa8463479985d6c0dfada01a9a
);
</script>
</script>
</body>
</body>
</html>
</html>
my_analysis.py
View file @
7c1e2ced
...
@@ -9,6 +9,5 @@ line.add_xaxis(test)
...
@@ -9,6 +9,5 @@ line.add_xaxis(test)
line
.
add_yaxis
(
"聪聪"
,
student1
)
line
.
add_yaxis
(
"聪聪"
,
student1
)
line
.
add_yaxis
(
"小杰"
,
student2
)
line
.
add_yaxis
(
"小杰"
,
student2
)
line
.
add_yaxis
(
"皮皮"
,
student3
)
line
.
add_yaxis
(
"皮皮"
,
student3
)
line
.
set_global_opts
(
title_opts
=
line
.
set_global_opts
(
title_opts
=
{
"text"
:
"成绩走势图"
,
"subtext"
:
"高254班学生"
})
{
"test"
:
"小杰,聪聪和皮皮的成绩"
,
"student1"
:
"单位:分"
,
"student2"
:
"单位:分"
,
"student3"
:
"单位:分"
})
line
.
render
(
"12345678910.html"
)
line
.
render
(
"12345678910.html"
)
\ No newline at end of file
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