Commit 7435c5f5 by BellCodeEditor

save project

parent 5fa4d010
Showing with 16 additions and 16 deletions
......@@ -7,11 +7,11 @@
</head>
<body>
<div id="48eb8c5520844250b2a32dee6cd0978f" class="chart-container" style="width:900px; height:500px;"></div>
<div id="10129b3182cc459fbcab8afb6f0cbda1" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_48eb8c5520844250b2a32dee6cd0978f = echarts.init(
document.getElementById('48eb8c5520844250b2a32dee6cd0978f'), 'white', {renderer: 'canvas'});
var option_48eb8c5520844250b2a32dee6cd0978f = {
var chart_10129b3182cc459fbcab8afb6f0cbda1 = echarts.init(
document.getElementById('10129b3182cc459fbcab8afb6f0cbda1'), 'white', {renderer: 'canvas'});
var option_10129b3182cc459fbcab8afb6f0cbda1 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
......@@ -52,15 +52,15 @@
"name": "\u6210\u7ee9\u8868",
"legendHoverLink": true,
"data": [
"\u8bed\u6587",
"\u6570\u5b66",
"\u82f1\u8bed",
"\u5730\u7406",
"\u5386\u53f2",
"\u653f\u6cbb",
"\u751f\u7269",
"\u5316\u5b66",
"\u7269\u7406"
88,
95,
96,
94,
62,
66,
64,
93,
89
],
"showBackground": false,
"barMinHeight": 0,
......@@ -165,7 +165,7 @@
}
]
};
chart_48eb8c5520844250b2a32dee6cd0978f.setOption(option_48eb8c5520844250b2a32dee6cd0978f);
chart_10129b3182cc459fbcab8afb6f0cbda1.setOption(option_10129b3182cc459fbcab8afb6f0cbda1);
</script>
</body>
</html>
......@@ -4,5 +4,5 @@ subjects = ["语文","æ•°å­¦","英语","地ç†","历å²","政治","生物","化å
scores = [88, 95, 96, 94, 62, 66, 64, 93, 89]
a = Bar()
a.add_xaxis(subjects)
a.add_yaxis("成绩表",subjects)
a.render("b,html")
a.add_yaxis("成绩表",scores)
a.render("b.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