hide dashboard tips on graph teardown event

This commit is contained in:
Jake McDermott 2019-04-26 11:18:39 -04:00
parent 96183cf9c4
commit 36e384e8ab
No known key found for this signature in database
GPG Key ID: 9A6F084352C3A0B7

View File

@ -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) {