logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CGI::Application::Plugin::DBIProfile::Graph::HTMLBarGraph - If it weren't for HTML::BarGraph bugs, this

Author

           Joshua I Miller, L<unrtst@cpan.org>

Bugs

       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().

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().

Name

       CGI::Application::Plugin::DBIProfile::Graph::HTMLBarGraph - If it weren't for HTML::BarGraph bugs, this
       would work.

See Also

           L<CGI::Application::Plugin::DBIProfile>

See Also