Author: tim.bunce
Date: Thu Jul  2 08:16:03 2009
New Revision: 792

Modified:
    trunk/bin/nytprofhtml
    trunk/lib/Devel/NYTProf/js/jit/Treemap.css

Log:
Give the user a clue, or three, about the treemaps.


Modified: trunk/bin/nytprofhtml
==============================================================================
--- trunk/bin/nytprofhtml       (original)
+++ trunk/bin/nytprofhtml       Thu Jul  2 08:16:03 2009
@@ -937,6 +937,7 @@
          );
      }

+    print OUT qq{<div class="vis_header"><br/>Boxes represent time spent  
in a subroutine. Coloring represents packages. Click to drill-down into  
package hierarchy.</div>\n};
      print OUT qq{<div id="infovis">\n};
      print OUT qq{<br /><div id="$_"></div>\n} for @root_ids;
      print OUT qq{</div>\n};
@@ -1745,6 +1746,12 @@
  .calls:hover a:hover { color: red; }
  /* give a little headroom to the summary of calls into a sub */
  .calls .calls_in { margin-top: 5px; }
+
+.vis_header {
+    text-align:center;
+    font-style: italic;
+    padding-top: 5px; color: gray;
+}

  EOD
  }

Modified: trunk/lib/Devel/NYTProf/js/jit/Treemap.css
==============================================================================
--- trunk/lib/Devel/NYTProf/js/jit/Treemap.css  (original)
+++ trunk/lib/Devel/NYTProf/js/jit/Treemap.css  Thu Jul  2 08:16:03 2009
@@ -1,7 +1,6 @@

  /* style for the visualization container */
  #infovis {
-    Xposition:relative;
      width:96%;
      height:600px;
      margin:auto;

--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to