Class containing methods for operations with Graphitems.
Methods | Description |
---|---|
get() | Get graphitem 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 |
The table contains list of common graphitem-related tasks and possible implementation using Zabbix API
Task | HOWTO |
---|---|
Get a graphitem | Use method graphitem.get |