# Zabbix Documentation 5.0

manual:api:reference:graphitem:object

# Differences

This shows you the differences between two versions of the page.

 manual:api:reference:graphitem:object [2016/02/16 15:25]127.0.0.1 external edit manual:api:reference:graphitem:object [2020/08/19 11:36] (current)martins-v internal link to data types (ZBX-17160) Both sides previous revision Previous revision 2020/08/19 11:36 martins-v internal link to data types (ZBX-17160)2019/10/07 06:35 external edit2016/09/15 12:59 vitalijs.cemeris [Graph item] 2016/02/16 15:25 external edit2014/10/16 07:45 pavels corrected calc_fnc description2014/09/30 12:54 external edit2014/09/25 14:43 sasha Page moved from 2.4:manual:api:reference:graphitem:object to manual:api:reference:graphitem:object Next revision Previous revision 2020/08/19 11:36 martins-v internal link to data types (ZBX-17160)2019/10/07 06:35 external edit2016/09/15 12:59 vitalijs.cemeris [Graph item] 2016/02/16 15:25 external edit2014/10/16 07:45 pavels corrected calc_fnc description2014/09/30 12:54 external edit2014/09/25 14:43 sasha Page moved from 2.4:manual:api:reference:graphitem:object to manual:api:reference:graphitem:object Line 9: Line 9: The graph item object has the following properties. The graph item object has the following properties. - ^  Property ​ ^  Type  ^  Description ​ ^ + ^  Property ​ ^  ​[[:​manual/​api/​reference_commentary#​data_types|Type]]  ​^ ​ Description ​ ^ | gitemid ​ | string ​ | //​(readonly)//​ ID of the graph item.  | | gitemid ​ | string ​ | //​(readonly)//​ ID of the graph item.  | | **color** \\ (required) | string | Graph item's draw color as a hexadecimal color code. | | **color** \\ (required) | string | Graph item's draw color as a hexadecimal color code. | Line 16: Line 16: | drawtype | integer | Draw style of the graph item. \\ \\ Possible values: \\ 0 - //​(default)//​ line; \\ 1 - filled region; \\ 2 - bold line; \\ 3 - dot; \\ 4 - dashed line; \\ 5 - gradient line. | | drawtype | integer | Draw style of the graph item. \\ \\ Possible values: \\ 0 - //​(default)//​ line; \\ 1 - filled region; \\ 2 - bold line; \\ 3 - dot; \\ 4 - dashed line; \\ 5 - gradient line. | | graphid | string | ID of the graph that the graph item belongs to. | | graphid | string | ID of the graph that the graph item belongs to. | - | sortorder | integer | Position of the item in the graph. \\ \\ Default: 0. | + | sortorder | integer | Position of the item in the graph. \\ \\ Default: ​starts with 0 and increases by one with each entry. | | type | integer | Type of graph item. \\ \\ Possible values: \\ 0 - //​(default)//​ simple; \\ 2 - graph sum, used only by pie and exploded graphs. | | type | integer | Type of graph item. \\ \\ Possible values: \\ 0 - //​(default)//​ simple; \\ 2 - graph sum, used only by pie and exploded graphs. | | yaxisside | integer | Side of the graph where the graph item's Y scale will be drawn. \\ \\ Possible values: \\ 0 - //​(default)//​ left side; \\ 1 - right side. | | yaxisside | integer | Side of the graph where the graph item's Y scale will be drawn. \\ \\ Possible values: \\ 0 - //​(default)//​ left side; \\ 1 - right side. |