From fe08a7bfec73848bccd294fb661f4ffe0b17bb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 12 Jan 2014 11:53:41 +0100 Subject: [PATCH] added stepped line option --- src/app/panels/graphite/module.js | 3 ++- src/app/panels/graphite/styleEditor.html | 21 ++++++++++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/app/panels/graphite/module.js b/src/app/panels/graphite/module.js index 57db97193ba..3edf2ca4a22 100644 --- a/src/app/panels/graphite/module.js +++ b/src/app/panels/graphite/module.js @@ -211,6 +211,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) { zerofill : true, nullPointMode : 'connected', + steppedLine: false, tooltip : { value_type: 'cumulative', @@ -564,7 +565,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) { // Silly, but fixes bug in stacked percentages fill: scope.panel.fill === 0 ? 0.001 : scope.panel.fill/10, lineWidth: scope.panel.linewidth, - steps: false + steps: scope.panel.steppedLine }, bars: { show: scope.panel.bars, diff --git a/src/app/panels/graphite/styleEditor.html b/src/app/panels/graphite/styleEditor.html index cce98aa674f..2c22f6336f9 100644 --- a/src/app/panels/graphite/styleEditor.html +++ b/src/app/panels/graphite/styleEditor.html @@ -17,13 +17,6 @@
-
- - -
-
- -
@@ -37,10 +30,24 @@
+ +
+
Line options
+
+ + +
+
+ + +
+
+
+
Multiple Series