Commit 93e6d04c by BellCodeEditor

auto save

parent 89ec8b4f
Showing with 8 additions and 7 deletions
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
</head> </head>
<body> <body>
<div id="f5eff35011cc4db9aa24ac655ea5a3c3" class="chart-container" style="width:900px; height:500px;"></div> <div id="abf8199f94c1432296e4756fc4304fe8" class="chart-container" style="width:900px; height:500px;"></div>
<script> <script>
var chart_f5eff35011cc4db9aa24ac655ea5a3c3 = echarts.init( var chart_abf8199f94c1432296e4756fc4304fe8 = echarts.init(
document.getElementById('f5eff35011cc4db9aa24ac655ea5a3c3'), 'white', {renderer: 'canvas'}); document.getElementById('abf8199f94c1432296e4756fc4304fe8'), 'white', {renderer: 'canvas'});
var option_f5eff35011cc4db9aa24ac655ea5a3c3 = { var option_abf8199f94c1432296e4756fc4304fe8 = {
"animation": true, "animation": true,
"animationThreshold": 2000, "animationThreshold": 2000,
"animationDuration": 1000, "animationDuration": 1000,
...@@ -354,10 +354,10 @@ ...@@ -354,10 +354,10 @@
], ],
"title": { "title": {
"text": "\u6218\u672f\u5206\u6570\u8d70\u52bf\u56fe", "text": "\u6218\u672f\u5206\u6570\u8d70\u52bf\u56fe",
"subtext": "\u9ad8\u4e00\u6570\u5b66" "subtext": "\u9ad8\u4e00\u5175\u6cd5"
} }
}; };
chart_f5eff35011cc4db9aa24ac655ea5a3c3.setOption(option_f5eff35011cc4db9aa24ac655ea5a3c3); chart_abf8199f94c1432296e4756fc4304fe8.setOption(option_abf8199f94c1432296e4756fc4304fe8);
</script> </script>
</body> </body>
</html> </html>
...@@ -9,5 +9,5 @@ a.add_xaxis(test) ...@@ -9,5 +9,5 @@ a.add_xaxis(test)
a.add_yaxis('大聪明',student1) a.add_yaxis('大聪明',student1)
a.add_yaxis('大姐',student2) a.add_yaxis('大姐',student2)
a.add_yaxis('太皮了',student3) a.add_yaxis('太皮了',student3)
a.set_global_opts(title_opts = {"text":"战术分数走势图","subtext":"高一数学"}) a.set_global_opts(title_opts = {"text":"战术分数走势图","subtext":"高一兵法"})
a.render("3+3=9.html") a.render("3+3=9.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