diff --git a/pandora_console/include/graphs/flot/pandora.flot.js b/pandora_console/include/graphs/flot/pandora.flot.js index 97e6a449cd..085ec7a7c2 100644 --- a/pandora_console/include/graphs/flot/pandora.flot.js +++ b/pandora_console/include/graphs/flot/pandora.flot.js @@ -468,7 +468,7 @@ function pandoraFlotHBars(graph_id, values, labels, water_mark, function yFormatter(v, axis) { format = new Array(); for (i = 0; i < labels_total.length; i++) { - format.push([i,'']); + format.push([i,'
'+labels_total[i][1]+'
']); } return format; } @@ -480,7 +480,6 @@ $.fn.HUseTooltip = function () { $(this).bind("plothover", function (event, pos, item) { if (item) { if ((previousLabel != item.series.label) || (previousPoint != item.seriesIndex)) { - $('.legend_'+previousPoint).css("visibility","hidden"); previousPoint = item.seriesIndex; previousLabel = item.series.label; $("#tooltip").remove(); @@ -489,15 +488,13 @@ $.fn.HUseTooltip = function () { var y = item.datapoint[1]; var color = item.series.color; - $('.legend_'+y).css("visibility",""); showTooltip(item.pageX, item.pageY, color, - "" + $('.legend_'+x).text() + ": " + x + ""); + "" + x + ""); } } else { $("#tooltip").remove(); - $('.legend_'+previousPoint).css("visibility","hidden"); previousPoint = null; } });