Commit 821217e0 by BellCodeEditor

save project

parent e077304b
Showing with 7 additions and 7 deletions
...@@ -5,4 +5,4 @@ scores = [88, 95, 96, 94, 62, 66, 64, 93, 89] ...@@ -5,4 +5,4 @@ scores = [88, 95, 96, 94, 62, 66, 64, 93, 89]
x=Bar() x=Bar()
x.add_xaxis(subjects) x.add_xaxis(subjects)
x.add_yaxis('万修铭同学',scores) x.add_yaxis('万修铭同学',scores)
x.render(somebody scores.html) x.render()
\ No newline at end of file \ No newline at end of file
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
</head> </head>
<body> <body>
<div id="6f840759dd8e41aeadd7caa50f087599" class="chart-container" style="width:900px; height:500px;"></div> <div id="05b80e3fa0ce4a60a5bdbcb3c19f1e9f" class="chart-container" style="width:900px; height:500px;"></div>
<script> <script>
var chart_6f840759dd8e41aeadd7caa50f087599 = echarts.init( var chart_05b80e3fa0ce4a60a5bdbcb3c19f1e9f = echarts.init(
document.getElementById('6f840759dd8e41aeadd7caa50f087599'), 'white', {renderer: 'canvas'}); document.getElementById('05b80e3fa0ce4a60a5bdbcb3c19f1e9f'), 'white', {renderer: 'canvas'});
var option_6f840759dd8e41aeadd7caa50f087599 = { var option_05b80e3fa0ce4a60a5bdbcb3c19f1e9f = {
"animation": true, "animation": true,
"animationThreshold": 2000, "animationThreshold": 2000,
"animationDuration": 1000, "animationDuration": 1000,
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
} }
] ]
}; };
chart_6f840759dd8e41aeadd7caa50f087599.setOption(option_6f840759dd8e41aeadd7caa50f087599); chart_05b80e3fa0ce4a60a5bdbcb3c19f1e9f.setOption(option_05b80e3fa0ce4a60a5bdbcb3c19f1e9f);
</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