]> granicus.if.org Git - pgbadger/commitdiff
Fix min yaxis in histogram graph. Thanks to grzeg1 for the patch.
authorDarold Gilles <gilles@darold.net>
Thu, 12 Feb 2015 14:00:25 +0000 (15:00 +0100)
committerDarold Gilles <gilles@darold.net>
Thu, 12 Feb 2015 14:00:25 +0000 (15:00 +0100)
pgbadger

index 5ad1f1423c394e53e399f93b272100ed801e99df..3a8f8fd5b0984b1602232c6caa4b2e9522affeb5 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -10613,6 +10613,7 @@ sub flotr2_duration_histograph
            mode: "normal",
             title: "Number of queries",
            autoscaleMargin: 1,
+           min: 0,
            max: $max,
            tickFormatter: function(val){ return pretty_print_number(val,'') },
         },