Add some callback hooks before and after certain draw events in GD::Graph