From 0dc0decfaa9cb4cf0886e10989fd9f809fd89e9d Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Fri, 20 Feb 2009 15:12:41 +0000 Subject: [PATCH] Fixed problem with setting background (patch by achamayou) git-svn-id: https://flot.googlecode.com/svn/trunk@133 1e0a6537-2640-0410-bfb7-f154510ff394 --- jquery.flot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.flot.js b/jquery.flot.js index daabedd..a53a1da 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -858,7 +858,7 @@ // draw background, if any if (options.grid.backgroundColor) { - ctx.fillStyle = getColorOrGradient(options.grid.backgroundColor, plotHeight); + ctx.fillStyle = getColorOrGradient(options.grid.backgroundColor, plotHeight, 0, "rgba(255, 255, 255, 0)"); ctx.fillRect(0, 0, plotWidth, plotHeight); }