object graph.update(object/array graphs)
This method allows to update existing graphs.
(object/array) Graph properties to be updated.
graphid property must be defined for each graph, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
Additionally to the standard graph properties the method accepts the following parameters.
|gitems||array||Graph items to replace existing graph items. If a graph item has the
(object) Returns an object containing the IDs of the updated graphs under the
Set the the maximum of the Y scale to a fixed value of 100.
CGraph::update() in frontends/php/include/classes/api/services/CGraph.php.