Commit 8ad68fa8 by BellCodeEditor

save project

parent 59c2b638
Showing with 9 additions and 9 deletions
......@@ -5,5 +5,5 @@ scores = [88, 95, 96, 94, 62, 66, 64, 93, 89]
bar=Bar()
bar.add_xaxis(subjects)
bar.add_yaxis("人类成绩",scores)
bar.add_yaxis("成绩",scores)
bar.render()
......@@ -7,11 +7,11 @@
</head>
<body>
<div id="38bb146f3c3344f19389d4ca28b64ac7" class="chart-container" style="width:900px; height:500px;"></div>
<div id="d1adb80a897e458593592319e02794fb" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_38bb146f3c3344f19389d4ca28b64ac7 = echarts.init(
document.getElementById('38bb146f3c3344f19389d4ca28b64ac7'), 'white', {renderer: 'canvas'});
var option_38bb146f3c3344f19389d4ca28b64ac7 = {
var chart_d1adb80a897e458593592319e02794fb = echarts.init(
document.getElementById('d1adb80a897e458593592319e02794fb'), 'white', {renderer: 'canvas'});
var option_d1adb80a897e458593592319e02794fb = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
......@@ -49,7 +49,7 @@
"series": [
{
"type": "bar",
"name": "\u4eba\u7c7b\u6210\u7ee9",
"name": "\u6210\u7ee9",
"legendHoverLink": true,
"data": [
88,
......@@ -83,10 +83,10 @@
"legend": [
{
"data": [
"\u4eba\u7c7b\u6210\u7ee9"
"\u6210\u7ee9"
],
"selected": {
"\u4eba\u7c7b\u6210\u7ee9": true
"\u6210\u7ee9": true
}
}
],
......@@ -165,7 +165,7 @@
}
]
};
chart_38bb146f3c3344f19389d4ca28b64ac7.setOption(option_38bb146f3c3344f19389d4ca28b64ac7);
chart_d1adb80a897e458593592319e02794fb.setOption(option_d1adb80a897e458593592319e02794fb);
</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