diff --git a/lib/rrd.php b/lib/rrd.php index 0ff6637292..bbd1f93d6f 100644 --- a/lib/rrd.php +++ b/lib/rrd.php @@ -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 */