Commit 2ee677bb by BellCodeEditor

save project

parent 5e2be5cf
Showing with 15 additions and 12 deletions
......@@ -7,11 +7,11 @@
</head>
<body>
<div id="64a198801ce84dd38ac45d473617fef2" class="chart-container" style="width:900px; height:500px;"></div>
<div id="98e21bebaf7643d993e831825ff570cd" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_64a198801ce84dd38ac45d473617fef2 = echarts.init(
document.getElementById('64a198801ce84dd38ac45d473617fef2'), 'white', {renderer: 'canvas'});
var option_64a198801ce84dd38ac45d473617fef2 = {
var chart_98e21bebaf7643d993e831825ff570cd = echarts.init(
document.getElementById('98e21bebaf7643d993e831825ff570cd'), 'white', {renderer: 'canvas'});
var option_98e21bebaf7643d993e831825ff570cd = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
......@@ -119,7 +119,7 @@
},
{
"type": "line",
"name": "a",
"name": "b",
"connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
......@@ -189,7 +189,7 @@
},
{
"type": "line",
"name": "a",
"name": "c",
"connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
......@@ -262,11 +262,13 @@
{
"data": [
"a",
"a",
"a"
"b",
"c"
],
"selected": {
"a": true
"a": true,
"b": true,
"c": true
}
}
],
......@@ -346,7 +348,7 @@
}
]
};
chart_64a198801ce84dd38ac45d473617fef2.setOption(option_64a198801ce84dd38ac45d473617fef2);
chart_98e21bebaf7643d993e831825ff570cd.setOption(option_98e21bebaf7643d993e831825ff570cd);
</script>
</body>
</html>
......@@ -7,6 +7,6 @@ student3 = [143, 145, 140, 133, 134, 126, 121, 120, 114, 105] # 皮皮
line=Line()
line.add_xaxis(test)
line.add_yaxis("a",student1)
line.add_yaxis("a",student2)
line.add_yaxis("a",student3)
line.add_yaxis("b",student2)
line.add_yaxis("c",student3)
line.render("abc.html")
\ No newline at end of file
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