Commit 8ce24902 by BellCodeEditor

auto save

parent 91dfdaaa
Showing with 21 additions and 17 deletions
......@@ -6,10 +6,13 @@ student2 = [128, 131, 132, 129, 130, 127, 129, 131, 132, 128] # 小杰
student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮
line=Line()
line
line=line.add_xaxis(test)
line=line.add_yaxis('1',student1)
line=line.add_yaxis('2',student2)
line=line.add_yaxis('3',student3)
line=line.add_yaxis('student1',student1)
line=line.add_yaxis('student2',student2)
line=line.add_yaxis('student3',student3)
line.render()
\ No newline at end of file
......@@ -7,11 +7,11 @@
</head>
<body>
<div id="48652dcdfe2d4938b8072db84a591c14" class="chart-container" style="width:900px; height:500px;"></div>
<div id="b079f2d69ba1425a896bdffded9351f1" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_48652dcdfe2d4938b8072db84a591c14 = echarts.init(
document.getElementById('48652dcdfe2d4938b8072db84a591c14'), 'white', {renderer: 'canvas'});
var option_48652dcdfe2d4938b8072db84a591c14 = {
var chart_b079f2d69ba1425a896bdffded9351f1 = echarts.init(
document.getElementById('b079f2d69ba1425a896bdffded9351f1'), 'white', {renderer: 'canvas'});
var option_b079f2d69ba1425a896bdffded9351f1 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
......@@ -49,7 +49,7 @@
"series": [
{
"type": "line",
"name": "1",
"name": "student1",
"connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
......@@ -119,7 +119,7 @@
},
{
"type": "line",
"name": "2",
"name": "student2",
"connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
......@@ -189,7 +189,7 @@
},
{
"type": "line",
"name": "3",
"name": "student3",
"connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
......@@ -261,14 +261,14 @@
"legend": [
{
"data": [
"1",
"2",
"3"
"student1",
"student2",
"student3"
],
"selected": {
"1": true,
"2": true,
"3": true
"student1": true,
"student2": true,
"student3": true
}
}
],
......@@ -348,7 +348,7 @@
}
]
};
chart_48652dcdfe2d4938b8072db84a591c14.setOption(option_48652dcdfe2d4938b8072db84a591c14);
chart_b079f2d69ba1425a896bdffded9351f1.setOption(option_b079f2d69ba1425a896bdffded9351f1);
</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