From 36e384e8ab3956bd72da6cd232eb9f8ff271a232 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Fri, 26 Apr 2019 11:18:39 -0400 Subject: [PATCH] hide dashboard tips on graph teardown event --- .../graphs/job-status/job-status-graph.directive.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/awx/ui/client/src/home/dashboard/graphs/job-status/job-status-graph.directive.js b/awx/ui/client/src/home/dashboard/graphs/job-status/job-status-graph.directive.js index 6fd48cf8cd..96e0b81786 100644 --- a/awx/ui/client/src/home/dashboard/graphs/job-status/job-status-graph.directive.js +++ b/awx/ui/client/src/home/dashboard/graphs/job-status/job-status-graph.directive.js @@ -96,6 +96,11 @@ function JobStatusGraph($window, adjustGraphSize, templateUrl, i18n, moment, gra job_status_chart.interactiveLayer.tooltip.fixedTop(-10); //distance from the top of the chart to tooltip job_status_chart.interactiveLayer.tooltip.distance(-1); //distance from interactive line to tooltip + scope.$on('$destroy', function() { + job_status_chart.tooltip.hidden(true); + job_status_chart.interactiveLayer.tooltip.hidden(true); + }); + job_status_chart.xAxis .axisLabel(i18n._("TIME"))//.showMaxMin(true) .tickFormat(function(d) {