This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

Graphitem

Methods

Class containing methods for operations with Graphitems.

Methods Description
get() Get graphitem details

Object details

The table contains complete list of Graphitem attributes.

Parameter Type Description Details
gitemid integer Graphitem ID
graphid integer Graph ID
itemid integer Item ID
drawtype integer Draw type Line(0), filled region(1), bold line(2), dot(3), dashed(4), gradient(5)
sortorder integer Position in legend
color string Draw color Hex RGB
yaxisside integer Graph Y axis side left (0), right (1)
calc_fnc integer Graph item data selection function min(1), max(4), avg(2), all(7)
type integer Graph item type simple (0), aggregated (1), graph sum (2) - used in Pie and Exploded graph types
periods_cnt integer Aggregated periods count

Common tasks

The table contains list of common graphitem-related tasks and possible implementation using Zabbix API

Task HOWTO
Get a graphitem Use method graphitem.get