星空环布图

组件名称:星空环布图

组件样式

星空环布图

组件说明

组件支持自定义图例颜色,分组颜色以及指针节点颜色配置。

请求方式:POST

https://doc.tingyun.com/example/sense3Hostlist.json

参数

字段 类型 是否必选 描述
currentTime Number 当前时间戳。
token String 盐值,用于校验参数的完整性。校验规则为md5(timePeriod+currentTime+配置的token)。例如:timePeriod为30,currentTime为1513137332798,token为abc,则应对301513137332798abc进行MD5运算。
timePeriod Number 时间范围分钟数。

正确响应数据

字段 类型 是否必选 描述
legend Array 图例
name String 图例名称
max Number 最大值
color String 图例颜色
group Array 分组信息
id Number 唯一的ID
name String 名称
color String 分组颜色
series Array 列表信息
name String 名称
groupId Number 对应的分组ID
value Number
data Array 数据,数据长度和图例的长度对应

示例

{
    "legend": [
        {
            "name": "CPU使用率",
            "max": 100,
            "color": "#31F1FF"
        },
        {
            "name": "内存使用率",
            "max": 100,
            "color": "#704AEA"
        },
        {
            "name": "磁盘容量",
            "max": 100,
            "color": "#52F8BD"
        }
    ],
    "group": [
        {
            "id": 1,
            "name": "业务系统01",
            "color": "#00FFF9"
        },
        {
            "id": 2,
            "name": "业务系统02",
            "color": "#57BFFF"
        },
        {
            "id": 3,
            "name": "业务系统03",
            "color": "#537FFD"
        },
        {
            "id": 4,
            "name": "业务系统04",
            "color": "#36FFA0"
        }
    ],
    "series": [
        {
            "name": "G1-demo-base-000",
            "groupId": 1,
            "value": 4,
            "data": [
                45,
                18,
                6
            ]
        },
        {
            "name": "G1-demo-base-001",
            "groupId": 1,
            "value": 89,
            "data": [
                93,
                36,
                48
            ]
        },
        {
            "name": "G1-demo-base-002",
            "groupId": 1,
            "value": 28,
            "data": [
                45,
                37,
                17
            ]
        },
        {
            "name": "G1-demo-base-003",
            "groupId": 1,
            "value": 51,
            "data": [
                15,
                85,
                41
            ]
        },
        {
            "name": "G1-demo-base-004",
            "groupId": 1,
            "value": 17,
            "data": [
                91,
                97,
                75
            ]
        },
        {
            "name": "G1-demo-base-005",
            "groupId": 1,
            "value": 25,
            "data": [
                12,
                95,
                94
            ]
        },
        {
            "name": "G1-demo-base-006",
            "groupId": 1,
            "value": 51,
            "data": [
                80,
                65,
                98
            ]
        },
        {
            "name": "G1-demo-base-007",
            "groupId": 1,
            "value": 26,
            "data": [
                66,
                12,
                36
            ]
        },
        {
            "name": "G1-demo-base-008",
            "groupId": 1,
            "value": 90,
            "data": [
                86,
                23,
                64
            ]
        },
        {
            "name": "G1-demo-base-009",
            "groupId": 1,
            "value": 64,
            "data": [
                71,
                45,
                27
            ]
        },
        {
            "name": "G1-demo-base-010",
            "groupId": 1,
            "value": 83,
            "data": [
                13,
                4,
                32
            ]
        },
        {
            "name": "G1-demo-base-011",
            "groupId": 1,
            "value": 22,
            "data": [
                51,
                12,
                89
            ]
        },
        {
            "name": "G1-demo-base-012",
            "groupId": 1,
            "value": 98,
            "data": [
                46,
                24,
                59
            ]
        },
        {
            "name": "G1-demo-base-013",
            "groupId": 1,
            "value": 67,
            "data": [
                97,
                68,
                17
            ]
        },
        {
            "name": "G1-demo-base-014",
            "groupId": 1,
            "value": 39,
            "data": [
                8,
                70,
                70
            ]
        },
        {
            "name": "G1-demo-base-015",
            "groupId": 1,
            "value": 8,
            "data": [
                28,
                89,
                83
            ]
        },
        {
            "name": "G2-demo-base-001",
            "groupId": 2,
            "value": 6,
            "data": [
                81,
                80,
                82
            ]
        },
        {
            "name": "G2-demo-base-002",
            "groupId": 2,
            "value": 20,
            "data": [
                52,
                31,
                34
            ]
        },
        {
            "name": "G2-demo-base-003",
            "groupId": 2,
            "value": 8,
            "data": [
                49,
                71,
                28
            ]
        },
        {
            "name": "G2-demo-base-004",
            "groupId": 2,
            "value": 28,
            "data": [
                62,
                38,
                53
            ]
        },
        {
            "name": "G2-demo-base-005",
            "groupId": 2,
            "value": 7,
            "data": [
                15,
                40,
                72
            ]
        },
        {
            "name": "G2-demo-base-006",
            "groupId": 2,
            "value": 49,
            "data": [
                30,
                42,
                47
            ]
        },
        {
            "name": "G2-demo-base-007",
            "groupId": 2,
            "value": 10,
            "data": [
                98,
                80,
                41
            ]
        },
        {
            "name": "G2-demo-base-008",
            "groupId": 2,
            "value": 9,
            "data": [
                96,
                34,
                21
            ]
        },
        {
            "name": "G2-demo-base-009",
            "groupId": 2,
            "value": 17,
            "data": [
                89,
                88,
                98
            ]
        },
        {
            "name": "G2-demo-base-010",
            "groupId": 2,
            "value": 82,
            "data": [
                51,
                84,
                5
            ]
        },
        {
            "name": "G2-demo-base-011",
            "groupId": 2,
            "value": 13,
            "data": [
                86,
                79,
                88
            ]
        },
        {
            "name": "G2-demo-base-012",
            "groupId": 2,
            "value": 57,
            "data": [
                51,
                38,
                34
            ]
        },
        {
            "name": "G2-demo-base-013",
            "groupId": 2,
            "value": 3,
            "data": [
                68,
                82,
                53
            ]
        },
        {
            "name": "G2-demo-base-014",
            "groupId": 2,
            "value": 56,
            "data": [
                52,
                71,
                70
            ]
        },
        {
            "name": "G2-demo-base-015",
            "groupId": 2,
            "value": 45,
            "data": [
                40,
                9,
                4
            ]
        },
        {
            "name": "G2-demo-base-016",
            "groupId": 2,
            "value": 25,
            "data": [
                58,
                75,
                33
            ]
        },
        {
            "name": "G2-demo-base-017",
            "groupId": 2,
            "value": 73,
            "data": [
                45,
                23,
                94
            ]
        },
        {
            "name": "G2-demo-base-018",
            "groupId": 2,
            "value": 61,
            "data": [
                90,
                11,
                20
            ]
        },
        {
            "name": "G2-demo-base-019",
            "groupId": 2,
            "value": 33,
            "data": [
                52,
                20,
                41
            ]
        },
        {
            "name": "G2-demo-base-020",
            "groupId": 2,
            "value": 32,
            "data": [
                62,
                19,
                95
            ]
        },
        {
            "name": "G3-demo-base-001",
            "groupId": 3,
            "value": 38,
            "data": [
                4,
                67,
                21
            ]
        },
        {
            "name": "G3-demo-base-002",
            "groupId": 3,
            "value": 20,
            "data": [
                4,
                40,
                82
            ]
        },
        {
            "name": "G3-demo-base-003",
            "groupId": 3,
            "value": 29,
            "data": [
                95,
                30,
                64
            ]
        },
        {
            "name": "G3-demo-base-004",
            "groupId": 3,
            "value": 38,
            "data": [
                84,
                55,
                6
            ]
        },
        {
            "name": "G3-demo-base-005",
            "groupId": 3,
            "value": 2,
            "data": [
                80,
                56,
                64
            ]
        },
        {
            "name": "G3-demo-base-006",
            "groupId": 3,
            "value": 89,
            "data": [
                91,
                39,
                12
            ]
        },
        {
            "name": "G3-demo-base-007",
            "groupId": 3,
            "value": 18,
            "data": [
                42,
                26,
                48
            ]
        },
        {
            "name": "G3-demo-base-008",
            "groupId": 3,
            "value": 3,
            "data": [
                16,
                25,
                11
            ]
        },
        {
            "name": "G3-demo-base-009",
            "groupId": 3,
            "value": 52,
            "data": [
                41,
                66,
                89
            ]
        },
        {
            "name": "G3-demo-base-010",
            "groupId": 3,
            "value": 48,
            "data": [
                75,
                63,
                51
            ]
        },
        {
            "name": "G3-demo-base-011",
            "groupId": 3,
            "value": 12,
            "data": [
                89,
                34,
                38
            ]
        },
        {
            "name": "G3-demo-base-012",
            "groupId": 3,
            "value": 49,
            "data": [
                95,
                53,
                68
            ]
        },
        {
            "name": "G4-demo-base-001",
            "groupId": 4,
            "value": 58,
            "data": [
                63,
                59,
                26
            ]
        },
        {
            "name": "G4-demo-base-002",
            "groupId": 4,
            "value": 22,
            "data": [
                2,
                47,
                13
            ]
        },
        {
            "name": "G4-demo-base-003",
            "groupId": 4,
            "value": 42,
            "data": [
                3,
                2,
                71
            ]
        },
        {
            "name": "G4-demo-base-004",
            "groupId": 4,
            "value": 38,
            "data": [
                55,
                92,
                72
            ]
        },
        {
            "name": "G4-demo-base-005",
            "groupId": 4,
            "value": 67,
            "data": [
                7,
                95,
                37
            ]
        },
        {
            "name": "G4-demo-base-006",
            "groupId": 4,
            "value": 48,
            "data": [
                16,
                90,
                60
            ]
        },
        {
            "name": "G4-demo-base-007",
            "groupId": 4,
            "value": 32,
            "data": [
                71,
                52,
                22
            ]
        },
        {
            "name": "G4-demo-base-008",
            "groupId": 4,
            "value": 82,
            "data": [
                86,
                22,
                37
            ]
        },
        {
            "name": "G4-demo-base-009",
            "groupId": 4,
            "value": 49,
            "data": [
                76,
                51,
                45
            ]
        },
        {
            "name": "G4-demo-base-010",
            "groupId": 4,
            "value": 97,
            "data": [
                95,
                59,
                85
            ]
        },
        {
            "name": "G4-demo-base-011",
            "groupId": 4,
            "value": 82,
            "data": [
                18,
                39,
                89
            ]
        },
        {
            "name": "G4-demo-base-012",
            "groupId": 4,
            "value": 55,
            "data": [
                88,
                72,
                63
            ]
        }
    ]
}
© 2007-2023 北京基调网络股份有限公司 all right reserved,powered by Gitbook本文档更新于: 2021-11-26 14:18

results matching ""

    No results matching ""