描述

    This method allows to update existing graph prototypes. 此方法用于更新已存在的图形原型。

    Parameters

    (object/array) Graph prototype properties to be updated. (对象/数组) 需要更新的图形原型.

    Additionally to the , the method accepts the following parameters. 除了 标准图形原型属性外,此方法还接受以下参数:

    参数类型描述
    gitemsarray用于替换现有图形监控项的图形监控项. 如果图表项定义了 属性,它将被更新,否则将创建一个新的图形监控项.

    Return values

    返回值

    (object) Returns an object containing the IDs of the updated graph prototypes under the graphids property. (对象)graphids 属性下,返回一个已更新的图形原型的对象的ID。

    例子

    Changing the size of a graph prototype

    更新图形原型大小

    Request: 请求:

    Response: 响应:

    1. {
    2. "graphids": [
    3. "439"
    4. ]
    5. },
    6. "id": 1

    Source