From d0faeb3ec1fe73adcbf76c201a5abf236b960123 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 16 Feb 2017 11:18:42 +0100 Subject: [PATCH] fixed errors in graphs --- .../images/logo_vertical_water.png | Bin 1280 -> 1866 bytes pandora_console/include/ajax/module.php | 2 ++ pandora_console/include/functions_graph.php | 2 +- pandora_console/include/functions_html.php | 1 + .../include/functions_reporting_html.php | 1 + .../include/graphs/flot/pandora.flot.js | 7 ++++--- .../include/graphs/functions_flot.php | 5 ----- .../operation/agentes/stat_win.php | 10 ++++++---- 8 files changed, 15 insertions(+), 13 deletions(-) diff --git a/pandora_console/images/logo_vertical_water.png b/pandora_console/images/logo_vertical_water.png index 5f00e736d4fd69ce459772cad3bbc9eecc28f887..2238c38be72113c91e8a981eef89049fca5791cd 100644 GIT binary patch delta 1850 zcmV-A2gUe+3d#;4iBL{Q4GJ0x0000DNk~Le0001o0000O2nGNE0jJR33Xvfve+KMH zL_t(|+G1d!0$>CYO*{1(p!^LkyfX}dv;q(x0AdHI_zfV|0OAfHt^nc(K>WkX%4)^2 zW5*zRfre--Je|})u1f#{h=FR}dGYB+!;e3o85D#}8=%hn0K^wS-T^upCiVd8O$H>d zJ^;!ufO)3@DO^Yf00G2^%t1D&f6o0<1KooJ<_HcJUItLmKY&g2bog=G6Tb9KnE!dL?QtQph1I>qs9T2 z+31}k>TO{GYkwnlN&&efu#>Ox!XIOMP8QrlQP=jEJl>zD~26*0uur~lH z31~ilf#e_tsMrapUYH{mz{D_e4cJy_&KZd485B7NAb6}SkV-NJ<6a-Qa#UGG_L4n}`6q|vj9Ar)ex|wzvl zpe5}n7#IK$fE_aiX&?xq=#;S$D?L(Om(rA42x=7@NoAc%uCcTfEX7K&(9%W_t0RrU z>O_kO7AIK5LfACnf2t5GQ@V5fImUGZDFT9*A%U>jot^yK?7W%zYo2naOt)@frRxxT zcO+$Fk3xvO`We-hxAMZw*`MlW zCNV!!^VZbbd~XrnWeyf27oz=kM9=-}oJLuQgN-|%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n4WsRi?-Qe<`af0$mDE=q%{A zB6B|fdcm;hQY4(OFCM}G%2}|20}AdVJB$ga09o?v^F?T^yE7m+tbyPF&_G9$t65wC zy(P(nMS&oCoq+>9z}75f!eOf-C=x-HJQnE>(EO`7TKa&&_A&FtMCoS|UCl}F}g zcK`pIIsE?3OatBsU;&(Ut6T+)gyy+-U1;Y?lKDKiGQCA)gmUSwumnlH$EXoB6yC$~ z_iG;=tFN96e{SG*tt2)5l|W-=s2VPz1>A#K0m*t8zoFSN^H(rII1n72ao?FsEySF5 zu52~oSYO}M9B8nkaO}>P@LmiwY9ue>nZ_~P`p?yyov7TZDr6x}3R;qd)f1}nvKUlO zP72sGwmytFH~r^QchxNWj4nzZyiW4l8fcvwF5iM{e{nRtILGFx%(c_91W^SLWNd== zU30s6Z>B`~+(E-h`q$2jLV{A8ss=t75B^7}VkXIvM!89zWcxDzaIj#|yd znp`K_LCU-7#*Z3ER;^xb3L^Ts)r7uc3~5`qZWPr7070dXJwn2bTGF&UIZ*LF#1B}| VGFG|4-|qkb002ovPDHLkV1l>iCOiND diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 9e894c51b3..edf2101ed2 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -720,6 +720,8 @@ if ($list_modules) { if (empty ($modules)) { $modules = array (); } + + $table = new stdClass(); $table->width = "100%"; $table->cellpadding = 4; $table->cellspacing = 4; diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 18ad490a06..41dbf2d362 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -4058,7 +4058,7 @@ function grafico_modulo_boolean ($agent_module_id, $period, $show_events, 'file' => $config['homedir'] . "/images/logo_vertical_water.png", 'url' => ui_get_full_url("/images/logo_vertical_water.png", false, false, false)); - + $type_graph = $config['type_module_charts']; if ($type_graph === 'area') { if ($compare === 'separated') { return area_graph($flash_chart, $chart, $width, $height/2, $color, $legend, diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index a2de63bc35..03fb765b0e 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -170,6 +170,7 @@ function html_print_side_layer ($params) { $out_html = '