This method allows to update existing graph prototypes.此方法允许更新已经存在的图形项目。
(object/array)
Graph prototype properties to be updated. 需要更新的图形原型参数。
Returns an object containing the IDs of the updated graph prototypes under the graphids
property.返回一个关联数组,包含被更新的图片原型的ID参数。
Changing the size of a graph prototype改变一个图形原型的尺寸
Change the size of a graph prototype to 1100 to 400 pixels.将一个图形原型的尺寸修改成宽1100像素高400像素。
Response响应:
- {
- "jsonrpc": "2.0",
- "result": {
- "439"
- ]
- },
- "id": 1
CGraphPrototype::update() in frontends/php/include/classes/api/services/CGraphPrototype.php.