add organic graphs back to Cacti with RRDTool 1.2.x

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2773 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
Larry Adams committed 2005-05-09 02:46:25 +00:00
1 parent d3259cbebc
commit f8b2f37701
1 file changed
+5
+5
View File
@@ -698,6 +698,11 @@ function rrdtool_function_graph($local_graph_id, $rra_id, $graph_data_array, $rr
"$graph_legend" .
"--vertical-label=\"" . $graph["vertical_label"] . "\"" . RRD_NL;
/* rrdtool 1.2.x does not provide smooth lines, let's force it */
if (read_config_option("rrdtool_version") == "rrd-1.2.x") {
$graph_opts .= "--slope-mode" . RRD_NL;
}
/* rrdtool 1.2 font options */
if (read_config_option("rrdtool_version") == "rrd-1.2.x") {
/* title fonts */