Commit eb28b19c by BellCodeEditor

auto save

parent cefc5f1b
Showing with 79 additions and 43 deletions
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
</head> </head>
<body> <body>
<div id="013be2815b344d7b869c71303bf099c2" class="chart-container" style="width:900px; height:500px;"></div> <div id="3b4a8d70f7de4354a3587a332d2c1a2c" class="chart-container" style="width:900px; height:500px;"></div>
<script> <script>
var chart_013be2815b344d7b869c71303bf099c2 = echarts.init( var chart_3b4a8d70f7de4354a3587a332d2c1a2c = echarts.init(
document.getElementById('013be2815b344d7b869c71303bf099c2'), 'white', {renderer: 'canvas'}); document.getElementById('3b4a8d70f7de4354a3587a332d2c1a2c'), 'white', {renderer: 'canvas'});
var option_013be2815b344d7b869c71303bf099c2 = { var option_3b4a8d70f7de4354a3587a332d2c1a2c = {
"animation": true, "animation": true,
"animationThreshold": 2000, "animationThreshold": 2000,
"animationDuration": 1000, "animationDuration": 1000,
...@@ -48,60 +48,96 @@ ...@@ -48,60 +48,96 @@
], ],
"series": [ "series": [
{ {
"type": "bar", "type": "line",
"name": "\u4e2d", "name": "\u4e2d",
"legendHoverLink": true, "connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [ "data": [
92, [
95, "\u6d48\u6d48",
82, 92
88 ],
[
"\u806a\u806a",
95
],
[
"\u5c0f\u667a",
82
],
[
"\u6ce2\u5947",
88
]
], ],
"showBackground": false, "hoverAnimation": true,
"barWidth": 10,
"barMinHeight": 0,
"barCategoryGap": "20%",
"barGap": "30%",
"large": false,
"largeThreshold": 400,
"seriesLayoutBy": "column",
"datasetIndex": 0,
"clip": true,
"zlevel": 0,
"z": 2,
"label": { "label": {
"show": true, "show": true,
"position": "top", "position": "top",
"margin": 8 "margin": 8
} },
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
},
"areaStyle": {
"opacity": 0
},
"zlevel": 0,
"z": 0
}, },
{ {
"type": "bar", "type": "line",
"name": "\u672b", "name": "\u672b",
"legendHoverLink": true, "connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [ "data": [
95, [
79, "\u6d48\u6d48",
93, 95
90 ],
[
"\u806a\u806a",
79
],
[
"\u5c0f\u667a",
93
],
[
"\u6ce2\u5947",
90
]
], ],
"showBackground": false, "hoverAnimation": true,
"barWidth": 10,
"barMinHeight": 0,
"barCategoryGap": "20%",
"barGap": "30%",
"large": false,
"largeThreshold": 400,
"seriesLayoutBy": "column",
"datasetIndex": 0,
"clip": true,
"zlevel": 0,
"z": 2,
"label": { "label": {
"show": true, "show": true,
"position": "top", "position": "top",
"margin": 8 "margin": 8
} },
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
},
"areaStyle": {
"opacity": 0
},
"zlevel": 0,
"z": 0
} }
], ],
"legend": [ "legend": [
...@@ -186,7 +222,7 @@ ...@@ -186,7 +222,7 @@
} }
] ]
}; };
chart_013be2815b344d7b869c71303bf099c2.setOption(option_013be2815b344d7b869c71303bf099c2); chart_3b4a8d70f7de4354a3587a332d2c1a2c.setOption(option_3b4a8d70f7de4354a3587a332d2c1a2c);
</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