描述
This method allows to update existing graphs. 此方法用于更新已存在的图表。
Parameters
(object/array)
Graph properties to be updated. (对象/数组)
要更新的图表属性.
Additionally to the the method accepts the following parameters. 除了 标准图表属性 之外,此方法还接受以下参数.
参数 | 类型 | 描述 |
---|---|---|
gitems | array | 替换已存在图表监控项的图表监控项. 如果一个图表监控项的 属性已经被定义,那么它将会被更新, 否则将会创建一个新的图表监控项. |
Return values
返回值
(object)
Returns an object containing the IDs of the updated graphs under the graphids
property. (对象)
在 graphids
属性下,返回一个包含已更新图表的ID的对象。
例子
Setting the maximum for the Y scale
设置Y刻度的最大值
Request: 请求:
Response: 响应:
{
"graphids": [
"439"
]
},
"id": 1