diff --git a/pandora_console/include/graphs/flot/pandora.flot.js b/pandora_console/include/graphs/flot/pandora.flot.js index 781e637ed7..399c19df6f 100644 --- a/pandora_console/include/graphs/flot/pandora.flot.js +++ b/pandora_console/include/graphs/flot/pandora.flot.js @@ -337,6 +337,7 @@ function pandoraFlotHBars(graph_id, values, labels, water_mark, $('#' + graph_id).HUseTooltip(); $('#' + graph_id).css("margin-left","auto"); $('#' + graph_id).css("margin-right","auto"); + $('#' + graph_id).find('div.legend-tooltip').tooltip({ track: true }); // Adjust the top of yaxis tick to set it in the middle of the bars //yAxisHeight = $('#' + graph_id + ' .yAxis .tickLabel') //.css('height').split('px')[0]; @@ -464,7 +465,7 @@ function pandoraFlotHBars(graph_id, values, labels, water_mark, title = label; label = shortLabel; } - format.push([i,'
' + format.push([i,'
' + label + '
']); } @@ -623,6 +624,7 @@ function pandoraFlotVBars(graph_id, values, labels, labels_long, legend, colors, $('#' + graph_id).VUseTooltip(); $('#' + graph_id).css("margin-left","auto"); $('#' + graph_id).css("margin-right","auto"); + $('#' + graph_id).find('div.legend-tooltip').tooltip({ track: true }); // Adjust the top of yaxis tick to set it in the middle of the bars //yAxisHeight = $('#'+graph_id+' .yAxis .tickLabel').css('height').split('px')[0]; @@ -693,7 +695,7 @@ function pandoraFlotVBars(graph_id, values, labels, labels_long, legend, colors, label = shortLabel; } format.push([i, - '
' + '
' + label + '
']); }