From 7c01cdfcdcf17551c5cf267340f22a35b10ea896 Mon Sep 17 00:00:00 2001 From: Ian Berry Date: Tue, 7 Jun 2005 03:58:57 +0000 Subject: [PATCH] fix: move ':STACK' outside of the legend text git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2916 860744bd-22fc-0310-8c96-e9fe5004b5ca --- lib/rrd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rrd.php b/lib/rrd.php index fe212ed7d4..13977cadba 100644 --- a/lib/rrd.php +++ b/lib/rrd.php @@ -1016,7 +1016,7 @@ function rrdtool_function_graph($local_graph_id, $rra_id, $graph_data_array, $rr if (read_config_option("rrdtool_version") == "rrd-1.2.x") { if (!empty($graph_item["hex"])) { $graph_variables["text_format"][$graph_item_id] = str_replace(":", "\:", $graph_variables["text_format"][$graph_item_id]); /* escape colons */ - $txt_graph_items .= $graph_item_stack_type . ":" . $data_source_name . "#" . $graph_item["hex"] . ":" . "\"" . $graph_variables["text_format"][$graph_item_id] . ": STACK " . $hardreturn[$graph_item_id] . "\" "; + $txt_graph_items .= $graph_item_stack_type . ":" . $data_source_name . "#" . $graph_item["hex"] . ":" . "\"" . $graph_variables["text_format"][$graph_item_id] . $hardreturn[$graph_item_id] . "\":STACK"; } }else { if (!empty($graph_item["hex"])) {