轮播折线图
组件名称:轮播折线图
组件样式:
组件说明:
基于ECharts开发的轮播折线图。用户可以通过灵活的配置实现各种ECharts图表。
默认配置中xAxis:"type"= "time",即X轴默认为时间轴。如果要使用类目轴,需要配置type=category。series中data依然保持二维数组形式。具体配置信息可以参考ECharts官网。
请求方式:POST
https://doc.tingyun.com/sense/example/sense3LineCharplus.json
参数:
字段 | 类型 | 描述 | 是否必选 |
---|---|---|---|
currentTime | Number | 当前时间戳。 | 是 |
token | String | 盐值,校验规则为md5(timePeriod+currentTime+配置的token), 例如:timePeriod为30,currentTime为1513137332798,token为abc,则应对301513137332798abc进行md5。 |
否 |
timePeriod | Number | 时间范围分钟数。 | 是 |
正确响应数据:
字段 | 类型 | 描述 |
---|---|---|
title | String | 标题 |
series | Array | 参考ECharts的说明 |
示例:
[
{
"title": "核心服务1",
"series": [
{
"name": "Code-Filter1",
"type": "line",
"symbol": "none",
"data": [
[
1630925882877,
55
],
[
1630929482877,
68
],
[
1630933082877,
71
],
[
1630936682877,
30
],
[
1630940282877,
48
],
[
1630943882877,
39
],
[
1630947482877,
19
],
[
1630951082877,
31
],
[
1630954682877,
55
],
[
1630958282877,
56
],
[
1630961882877,
14
],
[
1630965482877,
56
],
[
1630969082877,
71
],
[
1630972682877,
60
],
[
1630976282877,
46
],
[
1630979882877,
52
],
[
1630983482877,
15
],
[
1630987082877,
27
],
[
1630990682877,
21
],
[
1630994282877,
7
]
]
},
{
"name": "Code-HotSpot1",
"type": "line",
"symbol": "none",
"data": [
[
1630925882877,
39
],
[
1630929482877,
32
],
[
1630933082877,
37
],
[
1630936682877,
49
],
[
1630940282877,
25
],
[
1630943882877,
64
],
[
1630947482877,
58
],
[
1630951082877,
8
],
[
1630954682877,
42
],
[
1630958282877,
52
],
[
1630961882877,
1
],
[
1630965482877,
60
],
[
1630969082877,
31
],
[
1630972682877,
56
],
[
1630976282877,
47
],
[
1630979882877,
38
],
[
1630983482877,
62
],
[
1630987082877,
63
],
[
1630990682877,
40
],
[
1630994282877,
8
]
]
}
]
},
{
"title": "核心服务2",
"series": [
{
"name": "Code-Filter2",
"type": "line",
"symbol": "none",
"data": [
[
1630925882877,
55
],
[
1630929482877,
68
],
[
1630933082877,
71
],
[
1630936682877,
30
],
[
1630940282877,
48
],
[
1630943882877,
39
],
[
1630947482877,
19
],
[
1630951082877,
31
],
[
1630954682877,
55
],
[
1630958282877,
56
],
[
1630961882877,
14
],
[
1630965482877,
56
],
[
1630969082877,
71
],
[
1630972682877,
60
],
[
1630976282877,
46
],
[
1630979882877,
52
],
[
1630983482877,
15
],
[
1630987082877,
27
],
[
1630990682877,
21
],
[
1630994282877,
7
]
]
},
{
"name": "Code-HotSpot2",
"type": "line",
"symbol": "none",
"data": [
[
1630925882877,
34
],
[
1630929482877,
42
],
[
1630933082877,
29
],
[
1630936682877,
32
],
[
1630940282877,
63
],
[
1630943882877,
62
],
[
1630947482877,
1
],
[
1630951082877,
47
],
[
1630954682877,
34
],
[
1630958282877,
1
],
[
1630961882877,
55
],
[
1630965482877,
39
],
[
1630969082877,
58
],
[
1630972682877,
54
],
[
1630976282877,
53
],
[
1630979882877,
55
],
[
1630983482877,
65
],
[
1630987082877,
25
],
[
1630990682877,
28
],
[
1630994282877,
53
]
]
}
]
},
{
"title": "核心服务3",
"series": [
{
"name": "Code-Filter3",
"type": "line",
"symbol": "none",
"data": [
[
1630925882877,
55
],
[
1630929482877,
68
],
[
1630933082877,
71
],
[
1630936682877,
30
],
[
1630940282877,
48
],
[
1630943882877,
39
],
[
1630947482877,
19
],
[
1630951082877,
31
],
[
1630954682877,
55
],
[
1630958282877,
56
],
[
1630961882877,
14
],
[
1630965482877,
56
],
[
1630969082877,
71
],
[
1630972682877,
60
],
[
1630976282877,
46
],
[
1630979882877,
52
],
[
1630983482877,
15
],
[
1630987082877,
27
],
[
1630990682877,
21
],
[
1630994282877,
7
]
]
},
{
"name": "Code-HotSpot3",
"type": "line",
"symbol": "none",
"data": [
[
1630925882877,
50
],
[
1630929482877,
8
],
[
1630933082877,
38
],
[
1630936682877,
60
],
[
1630940282877,
56
],
[
1630943882877,
0
],
[
1630947482877,
53
],
[
1630951082877,
17
],
[
1630954682877,
5
],
[
1630958282877,
48
],
[
1630961882877,
42
],
[
1630965482877,
62
],
[
1630969082877,
59
],
[
1630972682877,
63
],
[
1630976282877,
38
],
[
1630979882877,
63
],
[
1630983482877,
5
],
[
1630987082877,
45
],
[
1630990682877,
56
],
[
1630994282877,
30
]
]
}
]
},
{
"title": "核心服务4",
"series": [
{
"name": "Code-Filter4",
"type": "line",
"symbol": "none",
"data": [
[
1630925882877,
55
],
[
1630929482877,
68
],
[
1630933082877,
71
],
[
1630936682877,
30
],
[
1630940282877,
48
],
[
1630943882877,
39
],
[
1630947482877,
19
],
[
1630951082877,
31
],
[
1630954682877,
55
],
[
1630958282877,
56
],
[
1630961882877,
14
],
[
1630965482877,
56
],
[
1630969082877,
71
],
[
1630972682877,
60
],
[
1630976282877,
46
],
[
1630979882877,
52
],
[
1630983482877,
15
],
[
1630987082877,
27
],
[
1630990682877,
21
],
[
1630994282877,
7
]
]
},
{
"name": "Code-HotSpot4",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
11
],
[
1630929482878,
43
],
[
1630933082878,
56
],
[
1630936682878,
43
],
[
1630940282878,
2
],
[
1630943882878,
56
],
[
1630947482878,
3
],
[
1630951082878,
10
],
[
1630954682878,
40
],
[
1630958282878,
40
],
[
1630961882878,
67
],
[
1630965482878,
62
],
[
1630969082878,
67
],
[
1630972682878,
15
],
[
1630976282878,
59
],
[
1630979882878,
18
],
[
1630983482878,
56
],
[
1630987082878,
60
],
[
1630990682878,
25
],
[
1630994282878,
14
]
]
}
]
},
{
"title": "核心服务5",
"series": [
{
"name": "Code-Filter5",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
55
],
[
1630929482878,
68
],
[
1630933082878,
71
],
[
1630936682878,
30
],
[
1630940282878,
48
],
[
1630943882878,
39
],
[
1630947482878,
19
],
[
1630951082878,
31
],
[
1630954682878,
55
],
[
1630958282878,
56
],
[
1630961882878,
14
],
[
1630965482878,
56
],
[
1630969082878,
71
],
[
1630972682878,
60
],
[
1630976282878,
46
],
[
1630979882878,
52
],
[
1630983482878,
15
],
[
1630987082878,
27
],
[
1630990682878,
21
],
[
1630994282878,
7
]
]
},
{
"name": "Code-HotSpot5",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
47
],
[
1630929482878,
51
],
[
1630933082878,
24
],
[
1630936682878,
10
],
[
1630940282878,
58
],
[
1630943882878,
6
],
[
1630947482878,
16
],
[
1630951082878,
29
],
[
1630954682878,
34
],
[
1630958282878,
72
],
[
1630961882878,
65
],
[
1630965482878,
68
],
[
1630969082878,
12
],
[
1630972682878,
53
],
[
1630976282878,
41
],
[
1630979882878,
59
],
[
1630983482878,
63
],
[
1630987082878,
20
],
[
1630990682878,
5
],
[
1630994282878,
48
]
]
}
]
},
{
"title": "核心服务6",
"series": [
{
"name": "Code-Filter6",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
55
],
[
1630929482878,
68
],
[
1630933082878,
71
],
[
1630936682878,
30
],
[
1630940282878,
48
],
[
1630943882878,
39
],
[
1630947482878,
19
],
[
1630951082878,
31
],
[
1630954682878,
55
],
[
1630958282878,
56
],
[
1630961882878,
14
],
[
1630965482878,
56
],
[
1630969082878,
71
],
[
1630972682878,
60
],
[
1630976282878,
46
],
[
1630979882878,
52
],
[
1630983482878,
15
],
[
1630987082878,
27
],
[
1630990682878,
21
],
[
1630994282878,
7
]
]
},
{
"name": "Code-HotSpot6",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
46
],
[
1630929482878,
3
],
[
1630933082878,
21
],
[
1630936682878,
57
],
[
1630940282878,
12
],
[
1630943882878,
22
],
[
1630947482878,
16
],
[
1630951082878,
23
],
[
1630954682878,
73
],
[
1630958282878,
67
],
[
1630961882878,
65
],
[
1630965482878,
40
],
[
1630969082878,
45
],
[
1630972682878,
60
],
[
1630976282878,
54
],
[
1630979882878,
64
],
[
1630983482878,
13
],
[
1630987082878,
23
],
[
1630990682878,
42
],
[
1630994282878,
14
]
]
}
]
},
{
"title": "核心服务7",
"series": [
{
"name": "Code-Filter7",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
55
],
[
1630929482878,
68
],
[
1630933082878,
71
],
[
1630936682878,
30
],
[
1630940282878,
48
],
[
1630943882878,
39
],
[
1630947482878,
19
],
[
1630951082878,
31
],
[
1630954682878,
55
],
[
1630958282878,
56
],
[
1630961882878,
14
],
[
1630965482878,
56
],
[
1630969082878,
71
],
[
1630972682878,
60
],
[
1630976282878,
46
],
[
1630979882878,
52
],
[
1630983482878,
15
],
[
1630987082878,
27
],
[
1630990682878,
21
],
[
1630994282878,
7
]
]
},
{
"name": "Code-HotSpot7",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
17
],
[
1630929482878,
33
],
[
1630933082878,
53
],
[
1630936682878,
15
],
[
1630940282878,
29
],
[
1630943882878,
0
],
[
1630947482878,
10
],
[
1630951082878,
70
],
[
1630954682878,
68
],
[
1630958282878,
58
],
[
1630961882878,
62
],
[
1630965482878,
35
],
[
1630969082878,
74
],
[
1630972682878,
39
],
[
1630976282878,
62
],
[
1630979882878,
4
],
[
1630983482878,
39
],
[
1630987082878,
34
],
[
1630990682878,
12
],
[
1630994282878,
30
]
]
}
]
},
{
"title": "核心服务8",
"series": [
{
"name": "Code-Filter8",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
55
],
[
1630929482878,
68
],
[
1630933082878,
71
],
[
1630936682878,
30
],
[
1630940282878,
48
],
[
1630943882878,
39
],
[
1630947482878,
19
],
[
1630951082878,
31
],
[
1630954682878,
55
],
[
1630958282878,
56
],
[
1630961882878,
14
],
[
1630965482878,
56
],
[
1630969082878,
71
],
[
1630972682878,
60
],
[
1630976282878,
46
],
[
1630979882878,
52
],
[
1630983482878,
15
],
[
1630987082878,
27
],
[
1630990682878,
21
],
[
1630994282878,
7
]
]
},
{
"name": "Code-HotSpot8",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
44
],
[
1630929482878,
48
],
[
1630933082878,
17
],
[
1630936682878,
36
],
[
1630940282878,
18
],
[
1630943882878,
2
],
[
1630947482878,
62
],
[
1630951082878,
67
],
[
1630954682878,
47
],
[
1630958282878,
78
],
[
1630961882878,
26
],
[
1630965482878,
80
],
[
1630969082878,
19
],
[
1630972682878,
57
],
[
1630976282878,
4
],
[
1630979882878,
50
],
[
1630983482878,
25
],
[
1630987082878,
11
],
[
1630990682878,
14
],
[
1630994282878,
41
]
]
}
]
},
{
"title": "核心服务9",
"series": [
{
"name": "Code-Filter9",
"type": "line",
"symbol": "none",
"data": [
[
1630925882878,
55
],
[
1630929482878,
68
],
[
1630933082878,
71
],
[
1630936682878,
30
],
[
1630940282878,
48
],
[
1630943882878,
39
],
[
1630947482878,
19
],
[
1630951082878,
31
],
[
1630954682878,
55
],
[
1630958282878,
56
],
[
1630961882878,
14
],
[
1630965482878,
56
],
[
1630969082879,
71
],
[
1630972682879,
60
],
[
1630976282879,
46
],
[
1630979882879,
52
],
[
1630983482879,
15
],
[
1630987082879,
27
],
[
1630990682879,
21
],
[
1630994282879,
7
]
]
},
{
"name": "Code-HotSpot9",
"type": "line",
"symbol": "none",
"data": [
[
1630925882879,
41
],
[
1630929482879,
18
],
[
1630933082879,
42
],
[
1630936682879,
39
],
[
1630940282879,
14
],
[
1630943882879,
51
],
[
1630947482879,
64
],
[
1630951082879,
33
],
[
1630954682879,
85
],
[
1630958282879,
17
],
[
1630961882879,
80
],
[
1630965482879,
3
],
[
1630969082879,
49
],
[
1630972682879,
13
],
[
1630976282879,
53
],
[
1630979882879,
17
],
[
1630983482879,
9
],
[
1630987082879,
1
],
[
1630990682879,
31
],
[
1630994282879,
17
]
]
}
]
}
]