ソースを参照

Fixes #83, stack percent with no line fill (workaround fix for bug in flot.stackpercent)

Torkel Ödegaard 12 年 前
コミット
48325b6452
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/app/directives/grafanaGraph.js

+ 1 - 1
src/app/directives/grafanaGraph.js

@@ -90,7 +90,7 @@ function (angular, $, kbn, moment, _) {
               lines:  {
               lines:  {
                 show: panel.lines,
                 show: panel.lines,
                 zero: false,
                 zero: false,
-                fill: panel.fill === 0 ? false : panel.fill/10,
+                fill: panel.fill === 0 ? 0.001 : panel.fill/10,
                 lineWidth: panel.linewidth,
                 lineWidth: panel.linewidth,
                 steps: panel.steppedLine
                 steps: panel.steppedLine
               },
               },