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
c61e999d
authored
Dec 16, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
0ab1d1da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
my_analysis.py
render.html
my_analysis.py
View file @
c61e999d
...
@@ -9,5 +9,5 @@ line.add_xaxis(test)
...
@@ -9,5 +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
=
{
"text"
:
"小朋友的"
,
"subtext"
:
"单位:毫米"
})
line
.
set_global_opts
(
title_opts
=
{
"text"
:
"小朋友的
身高
"
,
"subtext"
:
"单位:毫米"
})
line
.
render
()
line
.
render
()
render.html
View file @
c61e999d
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
</head>
</head>
<body>
<body>
<div
id=
"0
04a4b08382e4c3cbbaf482f5cec488
e"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"0
7b1a88f2be947e99ba63cc8f4c4322
e"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
<script>
var
chart_0
04a4b08382e4c3cbbaf482f5cec488
e
=
echarts
.
init
(
var
chart_0
7b1a88f2be947e99ba63cc8f4c4322
e
=
echarts
.
init
(
document
.
getElementById
(
'0
04a4b08382e4c3cbbaf482f5cec488
e'
),
'white'
,
{
renderer
:
'canvas'
});
document
.
getElementById
(
'0
7b1a88f2be947e99ba63cc8f4c4322
e'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_0
04a4b08382e4c3cbbaf482f5cec488
e
=
{
var
option_0
7b1a88f2be947e99ba63cc8f4c4322
e
=
{
"animation"
:
true
,
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
"animationDuration"
:
1000
,
...
@@ -353,11 +353,11 @@
...
@@ -353,11 +353,11 @@
}
}
],
],
"title"
:
{
"title"
:
{
"text"
:
"\u5c0f\u670b\u53cb\u7684"
,
"text"
:
"\u5c0f\u670b\u53cb\u7684
\u8eab\u9ad8
"
,
"subtext"
:
"\u5355\u4f4d:\u6beb\u7c73"
"subtext"
:
"\u5355\u4f4d:\u6beb\u7c73"
}
}
};
};
chart_0
04a4b08382e4c3cbbaf482f5cec488e
.
setOption
(
option_004a4b08382e4c3cbbaf482f5cec488
e
);
chart_0
7b1a88f2be947e99ba63cc8f4c4322e
.
setOption
(
option_07b1a88f2be947e99ba63cc8f4c4322
e
);
</script>
</script>
</body>
</body>
</html>
</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