]> granicus.if.org Git - pgbadger/commitdiff
Format pie mouse track to display values only
authorDarold Gilles <gilles@darold.net>
Tue, 10 Jul 2012 16:37:13 +0000 (18:37 +0200)
committerDarold Gilles <gilles@darold.net>
Tue, 10 Jul 2012 16:37:13 +0000 (18:37 +0200)
pgbadger

index 1e2cba4df76edcca0175f7c4dd282918c0a7fe78..191ce7eba460d368b18809458c7c35cd3dd408ef 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -3170,7 +3170,8 @@ document.writeln('<input type="button" class="dldButton" value="To Image" id="to
            explode: 6
         },
         mouse: {
-            track: true
+            track: true,
+           trackFormatter: function(obj){ return obj.y },
         },
         legend: {
             position: "sw",