Update nezha接口文档.md

This commit is contained in:
陈劲松
2019-07-22 10:34:29 +08:00
parent b2b9e3be08
commit 6dabff372a

View File

@@ -4920,7 +4920,7 @@ msg |string |R | 
##### 2.6.1.3 仪表盘修改 ##### 2.6.1.3 仪表盘修改
- **接口说明** 仪表盘修改 - **接口说明** 仪表盘修改data格式见附录B
- **接口地址** /dashboard/update - **接口地址** /dashboard/update
- **请求方式** PUT - **请求方式** PUT
@@ -4935,7 +4935,7 @@ x |Integer |R |x轴起点
y |Integer |R |y轴起点 y |Integer |R |y轴起点
width |Integer |R | width |Integer |R |
height |Integer |R | height |Integer |R |
data |String |R |图表参数信息json格式 data |String |R |图表参数信息data格式见附录B
示例 示例
@@ -5029,7 +5029,7 @@ msg |string |R | 
### B 仪表盘data格式说明 ### B 仪表盘data格式说明
chartType=3 chartType=3
``` ```
{ {
'color_suffix':#000000, 'color_suffix':#000000,
@@ -5056,7 +5056,7 @@ chartType=3
} }
``` ```
chartType=2 chartType=2
``` ```
{ {
'bars':0, 'bars':0,
@@ -5093,7 +5093,7 @@ chartType=2
} }
``` ```
chartType=4 chartType=4
``` ```
{ {
'font_size':15, 'font_size':15,