forked from haohaizhi/51job_spiders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path工作经验要求漏斗图.html
152 lines (151 loc) · 4.13 KB
/
工作经验要求漏斗图.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Awesome-pyecharts</title>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
</head>
<body >
<div id="2dd962226dc64cd2ac97117aacf3bb17" class="chart-container" style="width:900px; height:500px; "></div>
<script>
var chart_2dd962226dc64cd2ac97117aacf3bb17 = echarts.init(
document.getElementById('2dd962226dc64cd2ac97117aacf3bb17'), 'white', {renderer: 'canvas'});
var option_2dd962226dc64cd2ac97117aacf3bb17 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"aria": {
"enabled": false
},
"color": [
"#5470c6",
"#91cc75",
"#fac858",
"#ee6666",
"#73c0de",
"#3ba272",
"#fc8452",
"#9a60b4",
"#ea7ccc"
],
"series": [
{
"type": "funnel",
"data": [
{
"name": "1\u5e74",
"value": 142
},
{
"name": "3-4\u5e74",
"value": 439
},
{
"name": "10\u5e74\u4ee5\u4e0a",
"value": 14
},
{
"name": "5-7\u5e74",
"value": 272
},
{
"name": "\u65e0\u9700\u7ecf\u9a8c",
"value": 149
},
{
"name": "2\u5e74",
"value": 200
},
{
"name": "8-9\u5e74",
"value": 29
}
],
"sort": "descending",
"gap": 0,
"label": {
"show": true,
"position": "inside",
"margin": 8
}
}
],
"legend": [
{
"data": [
"1\u5e74",
"3-4\u5e74",
"10\u5e74\u4ee5\u4e0a",
"\u65e0\u9700\u7ecf\u9a8c",
"5-7\u5e74",
"2\u5e74",
"8-9\u5e74"
],
"selected": {},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14,
"backgroundColor": "transparent",
"borderColor": "#ccc",
"borderWidth": 1,
"borderRadius": 0,
"pageButtonItemGap": 5,
"pageButtonPosition": "end",
"pageFormatter": "{current}/{total}",
"pageIconColor": "#2f4554",
"pageIconInactiveColor": "#aaa",
"pageIconSize": 15,
"animationDurationUpdate": 800,
"selector": false,
"selectorPosition": "auto",
"selectorItemGap": 7,
"selectorButtonGap": 10
}
],
"tooltip": {
"show": true,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"showContent": true,
"alwaysShowContent": false,
"showDelay": 0,
"hideDelay": 100,
"enterable": false,
"confine": false,
"appendToBody": false,
"transitionDuration": 0.4,
"textStyle": {
"fontSize": 14
},
"borderWidth": 0,
"padding": 5,
"order": "seriesAsc"
},
"title": [
{
"show": true,
"text": "Funnel-Label\uff08inside)",
"target": "blank",
"subtarget": "blank",
"padding": 5,
"itemGap": 10,
"textAlign": "auto",
"textVerticalAlign": "auto",
"triggerEvent": false
}
]
};
chart_2dd962226dc64cd2ac97117aacf3bb17.setOption(option_2dd962226dc64cd2ac97117aacf3bb17);
</script>
</body>
</html>