Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson24-diy1
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
821217e0
authored
Dec 16, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e077304b
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 @
821217e0
...
@@ -5,4 +5,4 @@ scores = [88, 95, 96, 94, 62, 66, 64, 93, 89]
...
@@ -5,4 +5,4 @@ scores = [88, 95, 96, 94, 62, 66, 64, 93, 89]
x
=
Bar
()
x
=
Bar
()
x
.
add_xaxis
(
subjects
)
x
.
add_xaxis
(
subjects
)
x
.
add_yaxis
(
'万修铭同学'
,
scores
)
x
.
add_yaxis
(
'万修铭同学'
,
scores
)
x
.
render
(
somebody
scores
.
html
)
x
.
render
()
\ No newline at end of file
\ No newline at end of file
render.html
View file @
821217e0
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
</head>
</head>
<body>
<body>
<div
id=
"
6f840759dd8e41aeadd7caa50f087599
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"
05b80e3fa0ce4a60a5bdbcb3c19f1e9f
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
<script>
var
chart_
6f840759dd8e41aeadd7caa50f087599
=
echarts
.
init
(
var
chart_
05b80e3fa0ce4a60a5bdbcb3c19f1e9f
=
echarts
.
init
(
document
.
getElementById
(
'
6f840759dd8e41aeadd7caa50f087599
'
),
'white'
,
{
renderer
:
'canvas'
});
document
.
getElementById
(
'
05b80e3fa0ce4a60a5bdbcb3c19f1e9f
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
6f840759dd8e41aeadd7caa50f087599
=
{
var
option_
05b80e3fa0ce4a60a5bdbcb3c19f1e9f
=
{
"animation"
:
true
,
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
"animationDuration"
:
1000
,
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
}
}
]
]
};
};
chart_
6f840759dd8e41aeadd7caa50f087599
.
setOption
(
option_6f840759dd8e41aeadd7caa50f087599
);
chart_
05b80e3fa0ce4a60a5bdbcb3c19f1e9f
.
setOption
(
option_05b80e3fa0ce4a60a5bdbcb3c19f1e9f
);
</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