Commit e78cd48f by BellCodeEditor

save project

parent c0ec0e04
Showing with 11 additions and 5 deletions
from pyecharts.charts import Line from pyecharts.charts import Line
test = ["第1次","第2次","第3次","第4次","第5次","第6次","第7次","第8次","第9次","第10次"] x= ["1次", "2次", "3次", "4次","5次", "6次", "7次", "8次","9次", "10次", "11次", "12次"]
student1 = [112, 110, 118, 124, 129, 132, 136, 139, 144, 143] # 聪聪 y= [2312,23123,23213,435345,6456,214,563,2342343,4345345,2342342,23123,2312312]
student2 = [128, 131, 132, 129, 130, 127, 129, 131, 132, 128] # 小杰 s= [2312,23123,23213,435345,6546,13214,565463,2342343,4345345,2342342,23123,2312312]
student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮 z= [2312,23123,23213,435345,65456,13214,565463,2342343,4345345,2342342,23123,2312312] # 期中成绩
\ No newline at end of file line=Line()
line.add_xaxis(x)
line.add_yaxis('分数',y)
line.add_yaxis('分数',s)
line.add_yaxis('分数',z)
line.render()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment