Fixed problem with setting background (patch by achamayou)

git-svn-id: https://flot.googlecode.com/svn/trunk@133 1e0a6537-2640-0410-bfb7-f154510ff394
pull/1/head
olau@iola.dk 17 years ago
parent 3a1d1e7bae
commit 0dc0decfaa

@ -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);
}

Loading…
Cancel
Save