# must create the following variables: # %config (graph options, see perldoc GD::Graph) # @legends (graph methods, see perldoc GD::Graph) %graph = ( width => 600, height => 400, ); %config = ( width => 600, height => 400, x_label => 'X-Axis', y_label => 'Y-Axis', title => 'Chart', y_min_value => '0', y_max_value => '5000', y_tick_number => '10', y_label_skip => '2', transparent => 0, bgclr => 'white', ); @legends = ( 'Page Views', 'Visits', );