diff --git a/html/includes/graphs/common.inc.php b/html/includes/graphs/common.inc.php index 21fac3c01..b970567cf 100644 --- a/html/includes/graphs/common.inc.php +++ b/html/includes/graphs/common.inc.php @@ -19,10 +19,10 @@ if ($_GET['bg']) { $rrd_options .= " -c CANVAS#" . mres($_GET['bg']) . " "; } #$rrd_options .= " -c BACK#FFFFFF"; -if ($height < "99") { $rrd_options .= " --only-graph"; } } +if ($height < "99") { $rrd_options .= " --only-graph"; } -if ($width <= "300") { $rrd_options .= " --font LEGEND:7:" . $config['mono_font'] . " --font AXIS:6:" . $config['mono_font']; -else { $rrd_options .= " --font LEGEND:8:" . $config['mono_font'] . " --font AXIS:7:" . $config['mono_font']; } +if ($width <= "300") { $rrd_options .= " --font LEGEND:7:" . $config['mono_font'] . " --font AXIS:6:" . $config['mono_font']; } +else { $rrd_options .= " --font LEGEND:8:" . $config['mono_font'] . " --font AXIS:7:" . $config['mono_font']; } $rrd_options .= " --font-render-mode normal";