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
29fa7a35
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
b4defe37
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
my_analysis.py
render.html
my_analysis.py
View file @
29fa7a35
...
@@ -11,4 +11,5 @@ line.add_yaxis('聪聪',student1)
...
@@ -11,4 +11,5 @@ 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
.
render
()
line
.
render
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
render.html
View file @
29fa7a35
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
</head>
</head>
<body>
<body>
<div
id=
"
52ac3a708f824ed0b8f8f1670f4f0e4d
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<div
id=
"
48622f9207384950bb1a9e42eb5c7e7f
"
class=
"chart-container"
style=
"width:900px; height:500px;"
></div>
<script>
<script>
var
chart_
52ac3a708f824ed0b8f8f1670f4f0e4d
=
echarts
.
init
(
var
chart_
48622f9207384950bb1a9e42eb5c7e7f
=
echarts
.
init
(
document
.
getElementById
(
'
52ac3a708f824ed0b8f8f1670f4f0e4d
'
),
'white'
,
{
renderer
:
'canvas'
});
document
.
getElementById
(
'
48622f9207384950bb1a9e42eb5c7e7f
'
),
'white'
,
{
renderer
:
'canvas'
});
var
option_
52ac3a708f824ed0b8f8f1670f4f0e4d
=
{
var
option_
48622f9207384950bb1a9e42eb5c7e7f
=
{
"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"
:
"\u6210\u7ee9\u8d70\u52bf\u56fe"
,
"subtext"
:
"\u6210\u7ee9\u8d70\u52bf\u56fe"
}
};
};
chart_
52ac3a708f824ed0b8f8f1670f4f0e4d
.
setOption
(
option_52ac3a708f824ed0b8f8f1670f4f0e4d
);
chart_
48622f9207384950bb1a9e42eb5c7e7f
.
setOption
(
option_48622f9207384950bb1a9e42eb5c7e7f
);
</script>
</script>
</body>
</body>
</html>
</html>
This diff is collapsed.
Click to expand it.
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