3D 柱状图
组件名称:3D柱状图
组件样式:
 
组件说明:
3D柱状,图适用于时间序列数据格式,只支持一组数据。如果大屏使用此组件展示,建议使用配置较高的主机。
请求方式:POST
https://report.tingyun.com/example/browser/ls-uv.json
参数:
| 字段 | 类型 | 描述 | 是否必选 | 
|---|---|---|---|
| currentTime | Number | 当前时间戳。 | 是 | 
| token | String | 盐值,校验规则为md5(timePeriod+currentTime+配置的token), 例如:timePeriod为30,currentTime为1513137332798,token为abc,则应对301513137332798abc进行md5。  | 
否 | 
| timePeriod | Number | 时间范围分钟数。 | 是 | 
正确响应数据:
| 字段 | 类型 | 描述 | 
|---|---|---|
| code | Number | 状态码。 | 
| msg | String | 状态描述。 | 
| data | Object | 数据对象。 | 
| series | Object[] | |
| data | Object[] | |
| x | Number | x轴数据,只支持时间戳。 | 
| y | Number | y轴数据。 | 
| name | String | 指标名称。 | 
| type | String | 图表类型,只支持column。 | 
| yAxis | String | y轴下标。 | 
| yAxis | Object[] | y轴配置。 | 
| tickUnit | String | y轴单位。 | 
示例:
  HTTP/1.1 200 OK
{
    "code": 200,
    "msg": "success",
    "data": {
        "series": [
            {
                "data": [
                    {
                        "x": 1556005200000,
                        "y": 3
                    },
                    {
                        "x": 1556005260000,
                        "y": 13
                    },
                    {
                        "x": 1556005320000,
                        "y": 4
                    }
                ],
                "name": "UV",
                "type": "column",
                "yAxis": 0
            }
        ],
        "yAxis": [
            {
                "tickUnit": "次"
            }
        ]
    }
}