From 2e52008542fb8f93d6a123ddf790151be85be33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 23 Feb 2016 08:22:00 +0100 Subject: [PATCH] feat(annotations): updated editor, removed line color and icon size --- .../features/annotations/partials/editor.html | 25 ++++++------------- public/app/plugins/panel/graph/graph.js | 9 +------ 2 files changed, 9 insertions(+), 25 deletions(-) diff --git a/public/app/features/annotations/partials/editor.html b/public/app/features/annotations/partials/editor.html index 10f93b5ef05..8b4661fe24f 100644 --- a/public/app/features/annotations/partials/editor.html +++ b/public/app/features/annotations/partials/editor.html @@ -68,7 +68,7 @@
- Name + Name
@@ -77,27 +77,18 @@
-
-
-
- Icon size -
- -
-
+ + + + + +
-
- - -
diff --git a/public/app/plugins/panel/graph/graph.js b/public/app/plugins/panel/graph/graph.js index 87f565d9137..c7490d1133d 100755 --- a/public/app/plugins/panel/graph/graph.js +++ b/public/app/plugins/panel/graph/graph.js @@ -335,16 +335,9 @@ function (angular, $, moment, _, kbn, GraphTooltip) { types[event.annotation.name] = { color: event.annotation.iconColor, position: 'BOTTOM', + markerSize: 5, }; } - - // if (event.annotation.showLine) { - // options.grid.markings.push({ - // color: event.annotation.lineColor, - // lineWidth: 1, - // xaxis: { from: event.min, to: event.max } - // }); - // } }); options.events = {