summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/graphs.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-20 08:49:36 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-06-20 08:49:36 +0000
commit95d0aa5f5b34c37c0d0d44f869a8c4fa0068393b (patch)
tree31dc784607da0b7da8b3747b2c3361cc866fbeaa /frontends/php/include/graphs.inc.php
parent2ee4380facc20c50ece4625c7fea1a4a02056d8f (diff)
downloadzabbix-95d0aa5f5b34c37c0d0d44f869a8c4fa0068393b.tar.gz
zabbix-95d0aa5f5b34c37c0d0d44f869a8c4fa0068393b.tar.xz
zabbix-95d0aa5f5b34c37c0d0d44f869a8c4fa0068393b.zip
- merged -r4311:4312 of branches/1.4.1/ (Eugene) [fixed Dashed lines for graphs]
git-svn-id: svn://svn.zabbix.com/trunk@4313 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/graphs.inc.php')
-rw-r--r--frontends/php/include/graphs.inc.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php
index 6ac7727d..ce1596fe 100644
--- a/frontends/php/include/graphs.inc.php
+++ b/frontends/php/include/graphs.inc.php
@@ -30,6 +30,17 @@
return $type;
}
+ function graph_item_drawtypes()
+ {
+ return array(
+ GRAPH_ITEM_DRAWTYPE_LINE,
+ GRAPH_ITEM_DRAWTYPE_FILLED_REGION,
+ GRAPH_ITEM_DRAWTYPE_BOLD_LINE,
+ GRAPH_ITEM_DRAWTYPE_DOT,
+ GRAPH_ITEM_DRAWTYPE_DASHED_LINE
+ );
+ }
+
function graph_item_drawtype2str($drawtype,$type=null)
{
if($type == GRAPH_ITEM_AGGREGATED) return '-';