文档
测试

LineChart

POST
http://localhost:8080/dianyeAutho/rest/JsonData/LineChart

接口描述

获取折线图Json格式(获取一个指标下,所有城市的每个季度对应的数据)

请求参数

参数名
类型
描述
必填
indexid
int
示例:158
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
message
string
示例:Success
必填
data
object
数据字典
必填
indexInfo
object
指标信息
必填
circle
string
示例:件/百万客户
必填
department
string
示例:营销部
必填
iid
int
示例:158
必填
indexName
string
示例:百万客户投诉率
必填
qweight
int
示例:9
必填
unit
string
示例:季度
必填
allTimes
array
所有的季度时间集合
必填
cityScore
array
每个城市分别对应季度的值集合
必填
cityName
string
示例:安阳
必填
dataList
array
数据列表
必填

说明 / 示例

{ "code": 0, "message": "Success", "data": { "indexInfo": { "circle": "件/百万客户", "department": "营销部", "iid": 158, "indexName": "百万客户投诉率", "qweight": 9, "unit": "季度" }, "allTimes": [ "期初值", "1803", "1903" ], "cityScore": [ { "cityName": "安阳", "dataList": [ 861.035, 235.123, 138.565 ] }, { "cityName": "鹤壁", "dataList": [ 1307.92, 421.34, 178.652 ] }, { "cityName": "信阳", "dataList": [ 1910.82, 568.343, 769.718 ] }, { "cityName": "许昌", "dataList": [ 1061.67, 219.614, 204.336 ] }, { "cityName": "中位值", "dataList": [ 1105.84, 251.641, 221.454 ] } ] } }