From 23eab81cbe3aade48e9ab0eaa2f0584a12706076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 25 Jan 2017 14:11:30 +0100 Subject: [PATCH] fix(): fixed minor issue with single stat tooltip, #7357 --- public/app/features/panel/panel_directive.ts | 2 +- public/app/plugins/panel/singlestat/module.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/panel/panel_directive.ts b/public/app/features/panel/panel_directive.ts index 4637f01691e..24977bd386c 100644 --- a/public/app/features/panel/panel_directive.ts +++ b/public/app/features/panel/panel_directive.ts @@ -156,7 +156,7 @@ module.directive('grafanaPanel', function($rootScope) { content: function() { return ctrl.getInfoContent({mode: 'tooltip'}); }, - position: 'right middle', + position: 'top center', classes: ctrl.error ? 'drop-error' : 'drop-help', openOn: 'hover', hoverOpenDelay: 100, diff --git a/public/app/plugins/panel/singlestat/module.ts b/public/app/plugins/panel/singlestat/module.ts index 23283e98591..0c5d72c7274 100644 --- a/public/app/plugins/panel/singlestat/module.ts +++ b/public/app/plugins/panel/singlestat/module.ts @@ -566,7 +566,7 @@ class SingleStatCtrl extends MetricsPanelCtrl { if (!linkInfo) { return;} drilldownTooltip.text('click to go to: ' + linkInfo.title); - drilldownTooltip.place_tt(e.pageX+20, e.pageY-15); + drilldownTooltip.place_tt(e.pageX, e.pageY-50); }); }