Commit 29fa7a35 by BellCodeEditor

save project

parent b4defe37
Showing with 18 additions and 7 deletions
......@@ -11,4 +11,5 @@ line.add_yaxis('聪聪',student1)
line.add_yaxis('小杰',student2)
line.add_yaxis('皮皮',student3)
line.set_global_opts(title_opts={'text':'成绩走势图','subtext':'成绩走势图'})
line.render()
\ No newline at end of file
......@@ -7,11 +7,11 @@
</head>
<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>
var chart_52ac3a708f824ed0b8f8f1670f4f0e4d = echarts.init(
document.getElementById('52ac3a708f824ed0b8f8f1670f4f0e4d'), 'white', {renderer: 'canvas'});
var option_52ac3a708f824ed0b8f8f1670f4f0e4d = {
var chart_48622f9207384950bb1a9e42eb5c7e7f = echarts.init(
document.getElementById('48622f9207384950bb1a9e42eb5c7e7f'), 'white', {renderer: 'canvas'});
var option_48622f9207384950bb1a9e42eb5c7e7f = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
......@@ -269,7 +269,12 @@
"\u806a\u806a": true,
"\u5c0f\u6770": true,
"\u76ae\u76ae": true
}
},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14
}
],
"tooltip": {
......@@ -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>
</body>
</html>
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