From a77699b25159e09d119ad327d003520f749a5d7a Mon Sep 17 00:00:00 2001 From: Daniel Barbero Martin Date: Thu, 12 May 2022 09:10:39 +0200 Subject: [PATCH] fixed update legend hover chart pandora_enterprise#8895 --- pandora_console/include/graphs/flot/pandora.flot.js | 2 ++ pandora_console/operation/agentes/stat_win.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pandora_console/include/graphs/flot/pandora.flot.js b/pandora_console/include/graphs/flot/pandora.flot.js index 01b53136ee..bdd3aa3038 100644 --- a/pandora_console/include/graphs/flot/pandora.flot.js +++ b/pandora_console/include/graphs/flot/pandora.flot.js @@ -2455,6 +2455,8 @@ function pandoraFlotArea( number_format(value[x].max, 0, unit, short_data, divisor) + " Avg: " + number_format(value[x].avg, 0, unit, short_data, divisor); + } else { + data_legend[index] = " Min: " + 0 + " Max: " + 0 + " Avg: " + 0; } }); diff --git a/pandora_console/operation/agentes/stat_win.php b/pandora_console/operation/agentes/stat_win.php index 782df21b95..710d8e6df6 100644 --- a/pandora_console/operation/agentes/stat_win.php +++ b/pandora_console/operation/agentes/stat_win.php @@ -117,11 +117,13 @@ ui_print_message_dialog( + +