glenn 2003/07/25 07:00:20 Modified: jk/tools/reports tomcat_reports.pl Log: Allow y axis for latency graphs to scale better Revision Changes Path 1.2 +7 -3 jakarta-tomcat-connectors/jk/tools/reports/tomcat_reports.pl Index: tomcat_reports.pl =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/tools/reports/tomcat_reports.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- tomcat_reports.pl 1 Nov 2002 17:41:04 -0000 1.1 +++ tomcat_reports.pl 25 Jul 2003 14:00:20 -0000 1.2 @@ -277,6 +277,8 @@ $div = 1 if $max >= 5; $div = 5 if $max >= 20; $div = 10 if $max >= 50; + $div = 50 if $max >= 200; + $div = 100 if $max >= 500; $ymax = (int($max/$div) + 1)*$div; $ytick = $ymax/$div; @@ -317,6 +319,8 @@ $div = 1 if $max >= 5; $div = 5 if $max >= 20; $div = 10 if $max >= 50; + $div = 50 if $max >= 200; + $div = 100 if $max >= 500; $ymax = (int($max/$div) + 1)*$div; $ytick = $ymax/$div;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]