/
travelling time.txt
67 lines (67 loc) · 1.59 KB
/
travelling time.txt
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
option = {
title: {
text: '到訪北韓月份分布',
},
color:['#A11FFF','#16E042','#FFA322'],
tooltip: {
trigger: 'axis'
},
legend: {
data:['2015年','2016年','2017年']
},
toolbox: {
show: true,
feature: {
dataZoom: {
yAxisIndex: 'none'
},
dataView: {readOnly: false},
magicType: {type: ['line', 'bar']},
restore: {},
saveAsImage: {}
}
},
xAxis: {
type: 'category',
boundaryGap: false,
data: ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月']
},
yAxis: {
type: 'value',
axisLabel: {
formatter: '{value}人'
}
},
series: [
{
name:'2015年',
type:'line',
data:[0,0,0,0,0,0,0,0,0,4,0,0],
markPoint: {
data: [
{type: 'max', name: '最大值'}
]
},
},
{
name:'2016年',
type:'line',
data:[0,0,9,0,7,0,22,15,10,23,0,12],
markPoint: {
data: [
{type: 'max', name: '最大值'}
]
},
},
{
name:'2017年',
type:'line',
data:[10,0,0,80,0,0,0,0,0,0,0,0],
markPoint: {
data: [
{type: 'max', name: '最大值'},
]
},
}
]
};