Commit 762522a6 by BellCodeEditor

save project

parent 01b8ad69
Showing with 120 additions and 45 deletions
...@@ -6,7 +6,7 @@ student2 = [128, 131, 132, 129, 130, 127, 129, 131, 132, 128] # 小杰 ...@@ -6,7 +6,7 @@ student2 = [128, 131, 132, 129, 130, 127, 129, 131, 132, 128] # 小杰
student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮 student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮
line=Line() line=Line()
line.add_xaxis(test) line.add_xaxis(test)
line.add_yaxis("聪聪",[student1]) line.add_yaxis("聪聪",student1)
line.add_yaxis("小杰",[student2]) line.add_yaxis("小杰",student2)
line.add_yaxis("皮皮",[student3]) line.add_yaxis("皮皮",student3)
line.render(123.html) line.render()
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
</head> </head>
<body> <body>
<div id="2714bfd3c8684820ba8ce71af35572e0" class="chart-container" style="width:900px; height:500px;"></div> <div id="e9b6703873a24ea9b086dca6912955ab" class="chart-container" style="width:900px; height:500px;"></div>
<script> <script>
var chart_2714bfd3c8684820ba8ce71af35572e0 = echarts.init( var chart_e9b6703873a24ea9b086dca6912955ab = echarts.init(
document.getElementById('2714bfd3c8684820ba8ce71af35572e0'), 'white', {renderer: 'canvas'}); document.getElementById('e9b6703873a24ea9b086dca6912955ab'), 'white', {renderer: 'canvas'});
var option_2714bfd3c8684820ba8ce71af35572e0 = { var option_e9b6703873a24ea9b086dca6912955ab = {
"animation": true, "animation": true,
"animationThreshold": 2000, "animationThreshold": 2000,
"animationDuration": 1000, "animationDuration": 1000,
...@@ -59,18 +59,43 @@ ...@@ -59,18 +59,43 @@
"data": [ "data": [
[ [
"\u7b2c1\u6b21", "\u7b2c1\u6b21",
[ 112
112, ],
110, [
118, "\u7b2c2\u6b21",
124, 110
129, ],
132, [
136, "\u7b2c3\u6b21",
139, 118
144, ],
143 [
] "\u7b2c4\u6b21",
124
],
[
"\u7b2c5\u6b21",
129
],
[
"\u7b2c6\u6b21",
132
],
[
"\u7b2c7\u6b21",
136
],
[
"\u7b2c8\u6b21",
139
],
[
"\u7b2c9\u6b21",
144
],
[
"\u7b2c10\u6b21",
143
] ]
], ],
"hoverAnimation": true, "hoverAnimation": true,
...@@ -104,18 +129,43 @@ ...@@ -104,18 +129,43 @@
"data": [ "data": [
[ [
"\u7b2c1\u6b21", "\u7b2c1\u6b21",
[ 128
128, ],
131, [
132, "\u7b2c2\u6b21",
129, 131
130, ],
127, [
129, "\u7b2c3\u6b21",
131, 132
132, ],
128 [
] "\u7b2c4\u6b21",
129
],
[
"\u7b2c5\u6b21",
130
],
[
"\u7b2c6\u6b21",
127
],
[
"\u7b2c7\u6b21",
129
],
[
"\u7b2c8\u6b21",
131
],
[
"\u7b2c9\u6b21",
132
],
[
"\u7b2c10\u6b21",
128
] ]
], ],
"hoverAnimation": true, "hoverAnimation": true,
...@@ -149,18 +199,43 @@ ...@@ -149,18 +199,43 @@
"data": [ "data": [
[ [
"\u7b2c1\u6b21", "\u7b2c1\u6b21",
[ 143
143, ],
145, [
140, "\u7b2c2\u6b21",
133, 145
134, ],
126, [
121, "\u7b2c3\u6b21",
120, 140
114, ],
105 [
] "\u7b2c4\u6b21",
133
],
[
"\u7b2c5\u6b21",
134
],
[
"\u7b2c6\u6b21",
126
],
[
"\u7b2c7\u6b21",
121
],
[
"\u7b2c8\u6b21",
120
],
[
"\u7b2c9\u6b21",
114
],
[
"\u7b2c10\u6b21",
105
] ]
], ],
"hoverAnimation": true, "hoverAnimation": true,
...@@ -273,7 +348,7 @@ ...@@ -273,7 +348,7 @@
} }
] ]
}; };
chart_2714bfd3c8684820ba8ce71af35572e0.setOption(option_2714bfd3c8684820ba8ce71af35572e0); chart_e9b6703873a24ea9b086dca6912955ab.setOption(option_e9b6703873a24ea9b086dca6912955ab);
</script> </script>
</body> </body>
</html> </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