CGI::Application::Plugin::DBIProfile::Graph::HTMLBarGraph(3pm)

CGI::Application::Plugin::DBIProfile::Graph::HTMLBarGraph3pm

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

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7–8
  2. 9–10
  3. 11
  4. 12–13

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

Author

    Joshua I Miller, L<[email protected]>

From libcgi-application-plugin-dbiprofile-perl 0.07-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.