Commit 994bfb0c by BellCodeEditor

save project

parent c25c9bae
Showing with 25 additions and 7 deletions
<!DOCTYPE html> <!DOCTYPE html>
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
</head> </head>
<body> <body>
<div id="33855e71d023485787859e78d8cc2a59" class="chart-container" style="width:900px; height:500px;"></div> <div id="7843431bc8584dd58a3c00417fe6c35d" class="chart-container" style="width:900px; height:500px;"></div>
<script> <script>
var chart_33855e71d023485787859e78d8cc2a59 = echarts.init( var chart_7843431bc8584dd58a3c00417fe6c35d = echarts.init(
document.getElementById('33855e71d023485787859e78d8cc2a59'), 'white', {renderer: 'canvas'}); document.getElementById('7843431bc8584dd58a3c00417fe6c35d'), 'white', {renderer: 'canvas'});
var option_33855e71d023485787859e78d8cc2a59 = { var option_7843431bc8584dd58a3c00417fe6c35d = {
"animation": true, "animation": true,
"animationThreshold": 2000, "animationThreshold": 2000,
"animationDuration": 1000, "animationDuration": 1000,
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
{ {
"type": "bar", "type": "bar",
"name": "\u6210\u7ee9", "name": "\u6210\u7ee9",
"legendHoverLink": true,
"data": [ "data": [
88, 88,
95, 95,
...@@ -61,7 +62,17 @@ ...@@ -61,7 +62,17 @@
93, 93,
89 89
], ],
"showBackground": false,
"barMinHeight": 0,
"barCategoryGap": "20%", "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",
...@@ -86,10 +97,15 @@ ...@@ -86,10 +97,15 @@
"axisPointer": { "axisPointer": {
"type": "line" "type": "line"
}, },
"showContent": true,
"alwaysShowContent": false,
"showDelay": 0,
"hideDelay": 100,
"textStyle": { "textStyle": {
"fontSize": 14 "fontSize": 14
}, },
"borderWidth": 0 "borderWidth": 0,
"padding": 5
}, },
"xAxis": [ "xAxis": [
{ {
...@@ -105,6 +121,7 @@ ...@@ -105,6 +121,7 @@
"splitLine": { "splitLine": {
"show": false, "show": false,
"lineStyle": { "lineStyle": {
"show": true,
"width": 1, "width": 1,
"opacity": 1, "opacity": 1,
"curveness": 0, "curveness": 0,
...@@ -138,6 +155,7 @@ ...@@ -138,6 +155,7 @@
"splitLine": { "splitLine": {
"show": false, "show": false,
"lineStyle": { "lineStyle": {
"show": true,
"width": 1, "width": 1,
"opacity": 1, "opacity": 1,
"curveness": 0, "curveness": 0,
...@@ -147,7 +165,7 @@ ...@@ -147,7 +165,7 @@
} }
] ]
}; };
chart_33855e71d023485787859e78d8cc2a59.setOption(option_33855e71d023485787859e78d8cc2a59); chart_7843431bc8584dd58a3c00417fe6c35d.setOption(option_7843431bc8584dd58a3c00417fe6c35d);
</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