Commit b7d1c86d by BellCodeEditor

save project

parent 05d954be
Showing with 19 additions and 46 deletions
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
</head> </head>
<body> <body>
<div id="d297157d9efa4d2f8f6631ef5ff6d8d5" class="chart-container" style="width:900px; height:500px;"></div> <div id="978b608a2c5542f6a2024779f0e0d520" class="chart-container" style="width:900px; height:500px;"></div>
<script> <script>
var chart_d297157d9efa4d2f8f6631ef5ff6d8d5 = echarts.init( var chart_978b608a2c5542f6a2024779f0e0d520 = echarts.init(
document.getElementById('d297157d9efa4d2f8f6631ef5ff6d8d5'), 'white', {renderer: 'canvas'}); document.getElementById('978b608a2c5542f6a2024779f0e0d520'), 'white', {renderer: 'canvas'});
var option_d297157d9efa4d2f8f6631ef5ff6d8d5 = { var option_978b608a2c5542f6a2024779f0e0d520 = {
"animation": true, "animation": true,
"animationThreshold": 2000, "animationThreshold": 2000,
"animationDuration": 1000, "animationDuration": 1000,
...@@ -49,44 +49,17 @@ ...@@ -49,44 +49,17 @@
"series": [ "series": [
{ {
"type": "bar", "type": "bar",
"name": "\u671f\u4e2d\u8003\u8bd5\u6210\u7ee9\u8868", "name": "\u6708\u5546\u54c1\u9500\u552e\u8868",
"legendHoverLink": true, "legendHoverLink": true,
"data": [ "data": [
92, 5,
85, 20,
82, 36,
88 10,
], 75,
"showBackground": false,
"barWidth": 40,
"barMinHeight": 0,
"barCategoryGap": "20%",
"barGap": "30%",
"large": false,
"largeThreshold": 400,
"seriesLayoutBy": "column",
"datasetIndex": 0,
"clip": true,
"zlevel": 0,
"z": 2,
"label": {
"show": true,
"position": "top",
"margin": 8
}
},
{
"type": "bar",
"name": "\u671f\u672b\u8003\u8bd5\u6210\u7ee9\u8868",
"legendHoverLink": true,
"data": [
95,
79,
93,
90 90
], ],
"showBackground": false, "showBackground": false,
"barWidth": 40,
"barMinHeight": 0, "barMinHeight": 0,
"barCategoryGap": "20%", "barCategoryGap": "20%",
"barGap": "30%", "barGap": "30%",
...@@ -107,12 +80,10 @@ ...@@ -107,12 +80,10 @@
"legend": [ "legend": [
{ {
"data": [ "data": [
"\u671f\u4e2d\u8003\u8bd5\u6210\u7ee9\u8868", "\u6708\u5546\u54c1\u9500\u552e\u8868"
"\u671f\u672b\u8003\u8bd5\u6210\u7ee9\u8868"
], ],
"selected": { "selected": {
"\u671f\u4e2d\u8003\u8bd5\u6210\u7ee9\u8868": true, "\u6708\u5546\u54c1\u9500\u552e\u8868": true
"\u671f\u672b\u8003\u8bd5\u6210\u7ee9\u8868": true
} }
} }
], ],
...@@ -155,10 +126,12 @@ ...@@ -155,10 +126,12 @@
} }
}, },
"data": [ "data": [
"\u5364\u6c41\u8d1e", "\u886c\u886b",
"\u806a\u806a", "\u7f8a\u6bdb\u886b",
"\u5c0f\u667a", "\u96ea\u7eba\u886b",
"\u6ce2\u5947" "\u88e4\u5b50",
"\u9ad8\u8ddf\u978b",
"\u889c\u5b50"
] ]
} }
], ],
...@@ -186,7 +159,7 @@ ...@@ -186,7 +159,7 @@
} }
] ]
}; };
chart_d297157d9efa4d2f8f6631ef5ff6d8d5.setOption(option_d297157d9efa4d2f8f6631ef5ff6d8d5); chart_978b608a2c5542f6a2024779f0e0d520.setOption(option_978b608a2c5542f6a2024779f0e0d520);
</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