Commit 762522a6 by BellCodeEditor

save project

parent 01b8ad69
Showing with 114 additions and 39 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,19 +59,44 @@ ...@@ -59,19 +59,44 @@
"data": [ "data": [
[ [
"\u7b2c1\u6b21", "\u7b2c1\u6b21",
112
],
[
"\u7b2c2\u6b21",
110
],
[
"\u7b2c3\u6b21",
118
],
[
"\u7b2c4\u6b21",
124
],
[
"\u7b2c5\u6b21",
129
],
[
"\u7b2c6\u6b21",
132
],
[
"\u7b2c7\u6b21",
136
],
[
"\u7b2c8\u6b21",
139
],
[
"\u7b2c9\u6b21",
144
],
[ [
112, "\u7b2c10\u6b21",
110,
118,
124,
129,
132,
136,
139,
144,
143 143
] ]
]
], ],
"hoverAnimation": true, "hoverAnimation": true,
"label": { "label": {
...@@ -104,19 +129,44 @@ ...@@ -104,19 +129,44 @@
"data": [ "data": [
[ [
"\u7b2c1\u6b21", "\u7b2c1\u6b21",
128
],
[
"\u7b2c2\u6b21",
131
],
[
"\u7b2c3\u6b21",
132
],
[
"\u7b2c4\u6b21",
129
],
[
"\u7b2c5\u6b21",
130
],
[ [
128, "\u7b2c6\u6b21",
131, 127
132, ],
129, [
130, "\u7b2c7\u6b21",
127, 129
129, ],
131, [
132, "\u7b2c8\u6b21",
131
],
[
"\u7b2c9\u6b21",
132
],
[
"\u7b2c10\u6b21",
128 128
] ]
]
], ],
"hoverAnimation": true, "hoverAnimation": true,
"label": { "label": {
...@@ -149,19 +199,44 @@ ...@@ -149,19 +199,44 @@
"data": [ "data": [
[ [
"\u7b2c1\u6b21", "\u7b2c1\u6b21",
143
],
[
"\u7b2c2\u6b21",
145
],
[
"\u7b2c3\u6b21",
140
],
[
"\u7b2c4\u6b21",
133
],
[
"\u7b2c5\u6b21",
134
],
[
"\u7b2c6\u6b21",
126
],
[ [
143, "\u7b2c7\u6b21",
145, 121
140, ],
133, [
134, "\u7b2c8\u6b21",
126, 120
121, ],
120, [
114, "\u7b2c9\u6b21",
114
],
[
"\u7b2c10\u6b21",
105 105
] ]
]
], ],
"hoverAnimation": true, "hoverAnimation": true,
"label": { "label": {
...@@ -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