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
This commit is contained in:
Ian Berry committed 2005-06-07 03:58:57 +00:00
1 parent e646774edc
commit 7c01cdfcdc
1 file changed
+1 -1
+1 -1
View File
@@ -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"])) {