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
2ee677bb
authored
Aug 12, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
5e2be5cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
abc.html
my_analysis.py
abc.html
View file @
2ee677bb
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
</head>
</head>
<body>
<body>
<div
id=
"
64a198801ce84dd38ac45d473617fef2
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"
98e21bebaf7643d993e831825ff570cd
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
<script>
var
chart_
64a198801ce84dd38ac45d473617fef2
=
echarts
.
init
(
var
chart_
98e21bebaf7643d993e831825ff570cd
=
echarts
.
init
(
document
.
getElementById
(
'
64a198801ce84dd38ac45d473617fef2
'
),
'white'
,
{
renderer
:
'canvas'
});
document
.
getElementById
(
'
98e21bebaf7643d993e831825ff570cd
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
64a198801ce84dd38ac45d473617fef2
=
{
var
option_
98e21bebaf7643d993e831825ff570cd
=
{
"animation"
:
true
,
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
"animationDuration"
:
1000
,
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
},
},
{
{
"type"
:
"line"
,
"type"
:
"line"
,
"name"
:
"
a
"
,
"name"
:
"
b
"
,
"connectNulls"
:
false
,
"connectNulls"
:
false
,
"symbolSize"
:
4
,
"symbolSize"
:
4
,
"showSymbol"
:
true
,
"showSymbol"
:
true
,
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
},
},
{
{
"type"
:
"line"
,
"type"
:
"line"
,
"name"
:
"
a
"
,
"name"
:
"
c
"
,
"connectNulls"
:
false
,
"connectNulls"
:
false
,
"symbolSize"
:
4
,
"symbolSize"
:
4
,
"showSymbol"
:
true
,
"showSymbol"
:
true
,
...
@@ -262,11 +262,13 @@
...
@@ -262,11 +262,13 @@
{
{
"data"
:
[
"data"
:
[
"a"
,
"a"
,
"
a
"
,
"
b
"
,
"
a
"
"
c
"
],
],
"selected"
:
{
"selected"
:
{
"a"
:
true
"a"
:
true
,
"b"
:
true
,
"c"
:
true
}
}
}
}
],
],
...
@@ -346,7 +348,7 @@
...
@@ -346,7 +348,7 @@
}
}
]
]
};
};
chart_
64a198801ce84dd38ac45d473617fef2
.
setOption
(
option_64a198801ce84dd38ac45d473617fef2
);
chart_
98e21bebaf7643d993e831825ff570cd
.
setOption
(
option_98e21bebaf7643d993e831825ff570cd
);
</script>
</script>
</body>
</body>
</html>
</html>
my_analysis.py
View file @
2ee677bb
...
@@ -7,6 +7,6 @@ student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮
...
@@ -7,6 +7,6 @@ student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮
line
=
Line
()
line
=
Line
()
line
.
add_xaxis
(
test
)
line
.
add_xaxis
(
test
)
line
.
add_yaxis
(
"a"
,
student1
)
line
.
add_yaxis
(
"a"
,
student1
)
line
.
add_yaxis
(
"
a
"
,
student2
)
line
.
add_yaxis
(
"
b
"
,
student2
)
line
.
add_yaxis
(
"
a
"
,
student3
)
line
.
add_yaxis
(
"
c
"
,
student3
)
line
.
render
(
"abc.html"
)
line
.
render
(
"abc.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