mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-05 22:54:19 +09:00
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:
1 parent
d3259cbebc
commit
f8b2f37701
1 file changed
+5
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user