]> granicus.if.org Git - pgbadger/commitdiff
Fix CSS to draw autovacuum graph and change legend opacity.
authorDarold Gilles <gilles@darold.net>
Sat, 26 Jan 2013 15:15:12 +0000 (16:15 +0100)
committerDarold Gilles <gilles@darold.net>
Sat, 26 Jan 2013 15:15:12 +0000 (16:15 +0100)
pgbadger

index eec0d0409c018089d6259ee009ee8fea3d443ca1..c4a134adbfc0483f4bb4b9491058faf3d9960823 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -1866,7 +1866,7 @@ div#littleToc a:hover { text-decoration:none; background-color:#DDDDDD; }
        -moz-box-shadow:3px 3px 6px 2px #A9A9A9;
        -webkit-box-shadow:3px 3px 6px #A9A9A9;
 }
-#queriesbytype_graph, #lockbytype_graph, #databasesessions_graph, #usersessions_graph, #hostsessions_graph, #databaseconnections_graph, #userconnections_graph, #hostconnections_graph, #logstype_graph, #requestsdatabases_graph, #requestsapplications_graph #autovacuumbytable #autovacuumtuplesremoved {
+#queriesbytype_graph, #lockbytype_graph, #databasesessions_graph, #usersessions_graph, #hostsessions_graph, #databaseconnections_graph, #userconnections_graph, #hostconnections_graph, #logstype_graph, #requestsdatabases_graph, #requestsapplications_graph, #autovacuumbytable_graph, #autovacuumtuplesremoved_graph {
        width : 500px;
        height: 250px;
        background:#F3F2ED;
@@ -4973,7 +4973,8 @@ document.writeln('<table align="center"><tr><td><input type="button" class="dldB
         title: "$title",
         legend: {
             position: "nw",
-            backgroundColor: "#D2E8FF"
+            backgroundColor: "#D2E8FF",
+           backgroundOpacity: 0.4
         },
        mouse: {
             track: true,
@@ -5094,7 +5095,8 @@ document.writeln('<input type="button" class="dldButton" value="To Image" id="to
         },
         legend: {
             position: "sw",
-            backgroundColor: "#D2E8FF"
+            backgroundColor: "#D2E8FF",
+           backgroundOpacity: 0.4
         }
     });
     document.getElementById('reset$buttonid').onclick = function() {