Commit 242d79e5 by BellCodeEditor

save project

parent c0ec0e04
Showing with 7 additions and 6 deletions
from pyecharts.charts import Line
test = ["第1次","第2次","第3次","第4次","第5次","第6次","第7次","第8次","第9次","第10次"]
student1 = [112, 110, 118, 124, 129, 132, 136, 139, 144, 143] # 聪聪
student2 = [128, 131, 132, 129, 130, 127, 129, 131, 132, 128] # 小杰
student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮
\ No newline at end of file
bar=Line()
bar.add_xaxis(["第一次","第二次","第三次","第四次","第五次","第六次","第七次","第八次","第九次","第十次"])
bar.add_yaxis("聪聪",[112,110,118,124,129,132,136,139,144,143])
bar.add_yaxis("小杰",[128,131,132,129,130,127,129,131,132,128])
bar.add_yaxis("皮皮",[143,145,140,133,134,126,121,120,114,105])
bar.render("123.html")
\ 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