Commit 0dc0decf authored by olau@iola.dk's avatar olau@iola.dk

Fixed problem with setting background (patch by achamayou)

git-svn-id: https://flot.googlecode.com/svn/trunk@133 1e0a6537-2640-0410-bfb7-f154510ff394
parent 3a1d1e7b
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment