GD-Graph-Hooks
view release on metacpan or search on metacpan
54555657585960616263646566676869707172737475767778798081828384858687
}
};
*GD::Graph::axestype::plot
=
sub
{
my
$self
=
shift
;
my
$data
=
shift
;
$self
->check_data(
$data
) or
return
;
$self
->init_graph() or
return
;
$self
->setup_text() or
return
;
$self
->setup_legend();
$self
->setup_coords() or
return
;
$self
->call_hooks(POST_INIT);
$self
->draw_text();
$self
->call_hooks(POST_TEXT);
unless
(
defined
$self
->{no_axes}) {
$self
->draw_axes();
$self
->draw_ticks() or
return
;
}
$self
->call_hooks(POST_AXIS);
$self
->draw_data() or
return
;
$self
->call_hooks(POST_DATA);
$self
->draw_values() or
return
;
$self
->call_hooks(POST_VALUES);
$self
->draw_legend();
$self
->call_hooks(POST_LEGEND);
return
$self
->{graph}
};
}
1;
__END__
( run in 1.139 second using v1.01-cache-2.11-cpan-49f99fa48dc )