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
b29de5b3
authored
Apr 29, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
38e0ff14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
my_analysis.py
render.html
my_analysis.py
View file @
b29de5b3
...
@@ -8,5 +8,5 @@ line.add_xaxis(test)
...
@@ -8,5 +8,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
{
"test"
:
"数学考试成绩"
,
"subtes
t"
:
"分数"
})
line
.
set_global_opts
(
title_opts
=
{
"text"
:
"数学考试成绩"
,
"subtex
t"
:
"分数"
})
line
.
render
()
line
.
render
()
\ No newline at end of file
render.html
View file @
b29de5b3
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
</head>
</head>
<body>
<body>
<div
id=
"
0d2cb0e9834845f1aa06f64605c08f34
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"
a6c25540a02c48458fb72bac2a90066c
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
<script>
var
chart_
0d2cb0e9834845f1aa06f64605c08f34
=
echarts
.
init
(
var
chart_
a6c25540a02c48458fb72bac2a90066c
=
echarts
.
init
(
document
.
getElementById
(
'
0d2cb0e9834845f1aa06f64605c08f34
'
),
'white'
,
{
renderer
:
'canvas'
});
document
.
getElementById
(
'
a6c25540a02c48458fb72bac2a90066c
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
0d2cb0e9834845f1aa06f64605c08f34
=
{
var
option_
a6c25540a02c48458fb72bac2a90066c
=
{
"animation"
:
true
,
"animation"
:
true
,
"animationThreshold"
:
2000
,
"animationThreshold"
:
2000
,
"animationDuration"
:
1000
,
"animationDuration"
:
1000
,
...
@@ -269,7 +269,12 @@
...
@@ -269,7 +269,12 @@
"\u806a\u806a"
:
true
,
"\u806a\u806a"
:
true
,
"\u5c0f\u6770"
:
true
,
"\u5c0f\u6770"
:
true
,
"\u76ae\u76ae"
:
true
"\u76ae\u76ae"
:
true
}
},
"show"
:
true
,
"padding"
:
5
,
"itemGap"
:
10
,
"itemWidth"
:
25
,
"itemHeight"
:
14
}
}
],
],
"tooltip"
:
{
"tooltip"
:
{
...
@@ -346,9 +351,13 @@
...
@@ -346,9 +351,13 @@
}
}
}
}
}
}
]
],
"title"
:
{
"text"
:
"\u6570\u5b66\u8003\u8bd5\u6210\u7ee9"
,
"subtext"
:
"\u5206\u6570"
}
};
};
chart_
0d2cb0e9834845f1aa06f64605c08f34
.
setOption
(
option_0d2cb0e9834845f1aa06f64605c08f34
);
chart_
a6c25540a02c48458fb72bac2a90066c
.
setOption
(
option_a6c25540a02c48458fb72bac2a90066c
);
</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