Commit c61e999d by BellCodeEditor

auto save

parent 0ab1d1da
Showing with 7 additions and 7 deletions
...@@ -9,5 +9,5 @@ line.add_xaxis(test) ...@@ -9,5 +9,5 @@ line.add_xaxis(test)
line.add_yaxis("聪聪",student1) line.add_yaxis("聪聪",student1)
line.add_yaxis("小杰",student2) line.add_yaxis("小杰",student2)
line.add_yaxis("皮皮",student3) line.add_yaxis("皮皮",student3)
line.set_global_opts(title_opts={"text":"小朋友的","subtext":"单位:毫米"}) line.set_global_opts(title_opts={"text":"小朋友的身高","subtext":"单位:毫米"})
line.render() line.render()
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
</head> </head>
<body> <body>
<div id="004a4b08382e4c3cbbaf482f5cec488e" class="chart-container" style="width:900px; height:500px;"></div> <div id="07b1a88f2be947e99ba63cc8f4c4322e" class="chart-container" style="width:900px; height:500px;"></div>
<script> <script>
var chart_004a4b08382e4c3cbbaf482f5cec488e = echarts.init( var chart_07b1a88f2be947e99ba63cc8f4c4322e = echarts.init(
document.getElementById('004a4b08382e4c3cbbaf482f5cec488e'), 'white', {renderer: 'canvas'}); document.getElementById('07b1a88f2be947e99ba63cc8f4c4322e'), 'white', {renderer: 'canvas'});
var option_004a4b08382e4c3cbbaf482f5cec488e = { var option_07b1a88f2be947e99ba63cc8f4c4322e = {
"animation": true, "animation": true,
"animationThreshold": 2000, "animationThreshold": 2000,
"animationDuration": 1000, "animationDuration": 1000,
...@@ -353,11 +353,11 @@ ...@@ -353,11 +353,11 @@
} }
], ],
"title": { "title": {
"text": "\u5c0f\u670b\u53cb\u7684", "text": "\u5c0f\u670b\u53cb\u7684\u8eab\u9ad8",
"subtext": "\u5355\u4f4d:\u6beb\u7c73" "subtext": "\u5355\u4f4d:\u6beb\u7c73"
} }
}; };
chart_004a4b08382e4c3cbbaf482f5cec488e.setOption(option_004a4b08382e4c3cbbaf482f5cec488e); chart_07b1a88f2be947e99ba63cc8f4c4322e.setOption(option_07b1a88f2be947e99ba63cc8f4c4322e);
</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