From 7d0c31885c4a204b84dfa13b1c08371e1b84a795 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 19 Nov 2020 14:53:44 +0100 Subject: [PATCH] fixed errors visual pie charts --- .../godmode/events/event_edit_filter.php | 3 ++- .../include/graphs/flot/pandora.flot.js | 15 --------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/pandora_console/godmode/events/event_edit_filter.php b/pandora_console/godmode/events/event_edit_filter.php index 5783797112..a93f38bfa1 100644 --- a/pandora_console/godmode/events/event_edit_filter.php +++ b/pandora_console/godmode/events/event_edit_filter.php @@ -138,7 +138,8 @@ if ($update || $create) { ['id_agente_modulo' => $id_agent_module] ) ); - } + } + $pagination = get_parameter('pagination', ''); $event_view_hr = get_parameter('event_view_hr', ''); $id_user_ack = get_parameter('id_user_ack', ''); diff --git a/pandora_console/include/graphs/flot/pandora.flot.js b/pandora_console/include/graphs/flot/pandora.flot.js index 87ecf4b33f..a35b5dd71b 100644 --- a/pandora_console/include/graphs/flot/pandora.flot.js +++ b/pandora_console/include/graphs/flot/pandora.flot.js @@ -230,21 +230,6 @@ function pandoraFlotPieCustom( ); } var legends = $("#" + graph_id + " .legendLabel"); - var j = 0; - legends.each(function() { - //$(this).css("width", $(this).width()); - $(this).css("font-size", font_size + "pt"); - $(this).removeClass("legendLabel"); - $(this).addClass(font); - $(this).text(legend[j]); - j++; - }); - - if ($('input[name="custom_graph"]').val()) { - $(".legend>div").css("right", $(".legend>div").height() * -1); - $(".legend>table").css("right", $(".legend>div").height() * -1); - } - //$('.legend>table').css('border',"1px solid #E2E2E2"); if (background_color == "transparent") { $(".legend>table").css("background-color", "");