From 48325b6452bd404a90b40560806ac77a92cf0c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 11 Feb 2014 09:15:23 +0100 Subject: [PATCH] Fixes #83, stack percent with no line fill (workaround fix for bug in flot.stackpercent) --- src/app/directives/grafanaGraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/directives/grafanaGraph.js b/src/app/directives/grafanaGraph.js index 61ba3be4744..8148368f508 100644 --- a/src/app/directives/grafanaGraph.js +++ b/src/app/directives/grafanaGraph.js @@ -90,7 +90,7 @@ function (angular, $, kbn, moment, _) { lines: { show: panel.lines, zero: false, - fill: panel.fill === 0 ? false : panel.fill/10, + fill: panel.fill === 0 ? 0.001 : panel.fill/10, lineWidth: panel.linewidth, steps: panel.steppedLine },