Update nezha接口文档.md
This commit is contained in:
10
nezha接口文档.md
10
nezha接口文档.md
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user