From ef97b091a555aacaafd3913f24ac3abd446909a0 Mon Sep 17 00:00:00 2001 From: "mcafee%netscape.com" Date: Thu, 13 Dec 2001 02:10:16 +0000 Subject: [PATCH] Adding yahoo-quote-style Y-axis control UI. git-svn-id: svn://10.0.0.236/trunk@110413 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/graph/query.cgi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/graph/query.cgi b/mozilla/webtools/graph/query.cgi index 2957eb54b3e..77b84f56484 100755 --- a/mozilla/webtools/graph/query.cgi +++ b/mozilla/webtools/graph/query.cgi @@ -82,9 +82,18 @@ sub show_graph { print "$TBOX $TESTNAME
\n"; my $neg_autoscale = !$AUTOSCALE; - print "autoscale
\n"; - + if($AUTOSCALE) { + print "Y-axis: (zoom|"; + print "100%"; + print ")"; + } else { + print "Y-axis: ("; + print "zoom"; + print "|100%)"; + } + print "
\n"; + # graph print "\"$TBOX"; }