Change the background color to black for Cacti

You will have to do a little hacking in Cacti.
Open lib/rrd.php and find this line
Quote:
/* basic graph options */
$graph_opts .=
“–imgformat=” . $image_types{$graph[“image_format_id”]} . RRD_NL .
“–start=$graph_start” . RRD_NL .
“–end=$graph_end” . RRD_NL .
“–title=\”” . str_replace(“\””, “\\\””, $graph[“title_cache”]) . “\”” . RRD_NL .
“$rigid” .
“–base=” . $graph[“base_value”] . RRD_NL .
“–height=$graph_height” . RRD_NL .
“–width=$graph_width” . RRD_NL .
“$scale” .
“$unit_value” .
“$unit_exponent_value” .
“$graph_legend” .
“–vertical-label=\”” . $graph[“vertical_label”] . “\”” . RRD_NL;

and change it to include this line
Quote:
/* basic graph options */
$graph_opts .=
“–imgformat=” . $image_types{$graph[“image_format_id”]} . RRD_NL .
“–color CANVAS#000000 –color BACK#000000 –color FONT#FFFFFF” . RRD_NL .
“–start=$graph_start” . RRD_NL .
“–end=$graph_end” . RRD_NL .
“–title=\”” . str_replace(“\””, “\\\””, $graph[“title_cache”]) . “\”” . RRD_NL .
“$rigid” .
“–base=” . $graph[“base_value”] . RRD_NL .
“–height=$graph_height” . RRD_NL .
“–width=$graph_width” . RRD_NL .
“$scale” .
“$unit_value” .
“$unit_exponent_value” .
“$graph_legend” .
“–vertical-label=\”” . $graph[“vertical_label”] . “\”” . RRD_NL;