mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
hide dashboard tips on graph teardown event
This commit is contained in:
@@ -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.fixedTop(-10); //distance from the top of the chart to tooltip
|
||||||
job_status_chart.interactiveLayer.tooltip.distance(-1); //distance from interactive line 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
|
job_status_chart.xAxis
|
||||||
.axisLabel(i18n._("TIME"))//.showMaxMin(true)
|
.axisLabel(i18n._("TIME"))//.showMaxMin(true)
|
||||||
.tickFormat(function(d) {
|
.tickFormat(function(d) {
|
||||||
|
|||||||
Reference in New Issue
Block a user