in reply to GD Graph: gif comes out a large black rectangle.

I run into that all the time, because I use a black desktop background. (Although your problem may be caused elsewhere.) Try these extra settings:
$graph->set( transparent => '0', bgclr => 'lgray', boxclr => 'white', fgclr => 'white', x_label => 'X Label', y_label => 'Y label', title => 'Some simple graph', y_max_value => 8, y_tick_number => 8, y_label_skip => 2 ) or die $graph->error;

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: GD Graph: gif comes out a large black rectangle.
by pmneve (Novice) on May 04, 2005 at 20:50 UTC
    Scott (5miller) suggested much the same. I'll try your code and see what happens. Thanks!!
    pat
Re^2: GD Graph: gif comes out a large black rectangle.
by pmneve (Novice) on May 06, 2005 at 00:41 UTC
    Tried adding color attribute definitions but still comes out all black. Tried jpeg, and not loading any data. Still a very nice black rectangle. Any other suggestions???
    pat