From: Darold Gilles Date: Thu, 3 May 2012 19:43:42 +0000 (+0200) Subject: Fix legend opacity on graphics X-Git-Tag: v3.2~250 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fa8611dff969cfce2d76c6e8b06c1b0cd508b57;p=pgbadger Fix legend opacity on graphics --- diff --git a/pgbadger b/pgbadger index 94bf13a..b4c6bd2 100755 --- a/pgbadger +++ b/pgbadger @@ -2179,11 +2179,16 @@ sub flotr2_graph mode: "x", fps: 30 }, - title: "$title" + title: "$title", + legend: { + position: "nw", + backgroundColor: "#D2E8FF" + }, + HtmlText: false, }; function drawGraph(opts) { - var o = Flotr._.extend(Flotr._.clone(options), opts || { legend: { position: "nw", color: "#000000", backgroundColor: "#D2E8FF" } } ); + var o = Flotr._.extend(Flotr._.clone(options), opts ); return Flotr.draw( container, [