Provided by: libcgi-application-plugin-dbiprofile-perl_0.07-2_all
CGI::Application::Plugin::DBIProfile::Graph::HTMLBarGraph - If it weren't for HTML::BarGraph bugs, this would work.
DO NOT USE THIS
This is provided because I had it done, and it provides another example, but there are bugs in HTML::BarGraph. If HTML::BarGraph ever gets fixed, this will start to work correctly. The problem is its use of globals to track things like $maxval, which throws off scaling of the graph for subsequent calls to graph().
HTML::BarGraph is not mod_perl safe. It has globals that track, for instance, $maxval. That doesn't get reset accross calls to graph(), so whatever your largest value graphed is, that will set the scale of all graphs to come. Actually, it's not even single process safe... you can't make more than one call to graph().
Joshua I Miller, L<firstname.lastname@example.org>
COPYRIGHT & LICENSE
Copyright 2007 Joshua Miller, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.20.2 CGI::Application::Plugin::DBIProfile::Graph::HTMLBarGraph(3pm)