* include/functions_graph.php: added the parameter $homeurl in some
functions and in others rename from $homedir.
* include/graphs/functions_pchart.php: setted the default values in some
vars. And replaced the calls to new engine graph.
* include/graphs/fgraph.php: added the parameter $homeurl.
* include/functions_reporting.php: fixed in 'simple_graph' the
$content['id_agent_module'].
* include/functions_custom_graphs.php,
operation/reporting/reporting_xml.php,
godmode/admin_access_logs.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/functions_fsgraph.php
include/graphs/fgraph.php: Increased the weight of the lines
in line graphs.
Clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added function "graph_custom_sql_graph2".
* include/graphs/fgraph.php: added as $homedir parameter in some functions.
* include/functions_reporting.php: changed to new engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/pChart/pDraw.class.php
include/graphs/fgraph.php: Added rotation in bar graphs
top axis.
Fixed pie legend position
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: added method to force height or not,
changed to show all columns name in the hgraph and vgraph, fixed the colors
when passed the parameter "fine" to color. And in the function
"pch_bar_graph" change to calculate left margin instead to fixed value.
* include/graphs/fgraph.php: added new parameter in the function
"hbar_graph" to force or unforce the graph height.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: setted the xmargin to 0.
* include/graphs/fgraph.php: in function "pie_graph" reduce to 8 the
portions for the pie.
* include/functions_db.php: changed the call "debug" to "ui_debug".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/functions_gd.php
include/graphs/fgraph.php: Added x and y
axis name possibility to line, stacked line and
stacked area graphs.
Added dual posibility of calling to functions_gd
(thorugh url and with function call).
Clean code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, godmode/db/db_info.php,
godmode/db/db_purge.php: added functions "grafico_db_agentes_purge2",
"grafico_db_agentes_paquetes2", "graph_db_agentes_modulos2", and changed
in the code for this functions.
* include/graphs/functions_pchart.php: in function "pch_bar_graph" fixed
when pass a empty array as color.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: Forgotted
restoring miguel modifications in the last commit
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/functions_custom_graphs.php: Improved the
vertical graph legend to use in horizontal when
is possible.
Fixing a Miguel modification erased by me in the last
commit.
Fix a combined graph bug in the size
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_pchart.php
include/graphs/fgraph.php
include/functions_reporting.php
include/pchart_graph.php
include/fgraph.php: Change the slicebar graph
made by Javi to make it more generic and to
use the new pChart library. This graph has been
included into the graphs abstraction too
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: added lost lines of source code to
set bottom margin.
* godmode/reporting/visual_console_builder.editor.js: changed to use new
progress bar.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/functions_fsgraph.php
include/graphs/functions_gd.php
include/graphs/fgraph.php: Fixed long index bug into
stacked and line graphs.
Add entry for radar and polar charts (kiviat)
Clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added constants for some graphs. Added
function "graphic_agentaccess2" and function "graph_event_module2".
* include/graphs/functions_pchart.php: added checked previous $color and
$legend to avoid PHP warnings, added some code to calculate the bottom
margin.
* include/graphs/fgraph.php: at the moment in this file call
"fs_3d_pie_chart2" instead "fs_3d_pie_chart". Erased the color and legend in
the piegraph.
* operation/agentes/estado_generalagente.php: use new graphics functions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_fsgraph.php
include/graphs/fgraph.php
include/graphs/functions_utils.php: Created a function to
include flash charts javascript file into abstraction.
Clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_fsgraph.php
include/graphs/functions_gd.php
include/graphs/images_graphs
include/graphs/images_graphs/outlimits.png
include/graphs/fgraph.php: Added new file with sd functions
of two graphs, histogram and progress bar. Added folder with
graph abstraction default images. Clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/graph_builder.main.php: changed to use constants.
* include/graphs/fgraph.php: dded the show image when none data
and added the function "stacked_line_graph".
* include/graphs/functions_pchart.php: fixed when haven't the $xaxisname and
$yaxisname. Fixed typo mistake.
* include/graphs/functions_utils.php: added function "stack_data".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/functions_fsgraph.php
include/graphs/fgraph.php: Merged changes from integria like increasement
of margins in area static graphs, clean code and minor fixes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/functions_fsgraph.php
include/graphs/functions_utils.php: Improved the entry point
of the graphics abstraction and merged bar and pie configurations
from integria
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added call to paint the other graphs.
* include/graphs/functions_pchart.php: added stack area graph, and fixed
typo in the call to line graph.
* include/graphs/functions_fsgraph.php: added line graph and area graph.
* include/graphs/fgraph.php: added function "stacked_area_graph" and
"line_graph".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php: changed the img tag to autoclose.
* include/graphs/functions_fsgraph.php: changed the border to default 1, and
fixed the show legend.
* include/functions_graph.php: cleaned source code style. And the function
"graphic_combined_module2" added the show timestamp as human, add the
min, max, avg values.
* include/graphs/functions_pchart.php: changed the show leyend in the top
of graph, and added some comments lines for debug.
* include/functions_reporting.php, include/functions_custom_graphs.php,
godmode/reporting/graph_builder.preview.php: changed the graph to show with
new engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: wip in the function
"graphic_combined_module2".
* include/graphs/functions_fsgraph.php: fixed when "fs_area_graph" when
send a graph without the colours or and legend.
* include/graphs/fgraph.php: erased lost session instructions in the
function "area_graph".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pData.class.php
include/graphs/pChart/pDraw.class.php: Fixed avoid zero values
into area graphs and clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php, include/functions_graph.php,
include/graphs/functions_utils.php, include/fgraph.php: cleaned source code
style.
* include/functions_graph.php: added first version of function
"graphic_combined_module2".
* include/graphs/functions_pchart.php: fixed when pass a empty array as
colour for graphs.
* include/graphs/pChart/pDraw.class.php: fixed to set a color border when
the graphs haven't a external defined colour.
* include/graphs/fgraph.php: changed for pass the data to static image graph
generator.
* operation/agentes/graphs.php: changed to use the new graph engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php: added check if loaded the class.
* include/graphs/functions_fsgraph.php: added check if loaded the class.
Rename some functions and erased the function "fs_module_chart".
* include/graphs/functions_pchart.php: erased some debug traces.
* include/graphs/fgraph.php: cleaned the function "area_graph".
* operation/agentes/stat_win.php: cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/pChart/pDraw.class.php
include/graphs/fgraph.php
include/graphs/functions_utils.php: Changed the send data method
from sessions to files with serialize functions. Creation of a
utils functions file. Improvement of the pChart library adding
attributes to avoid ticks and grids when the data under the
xaxis is empty.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, operation/agentes/stat_win.php: changes for
to show with new engine.
* include/graphs/functions_pchart.php,
include/graphs/pChart/pData.class.php,
include/graphs/pChart/pDraw.class.php,
include/graphs/functions_fsgraph.php,
include/graphs/fgraph.php: part of job is Sergio Martin in my laptop, the
changes to show borders in the static image graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pDraw.class.php: Added to
library an option to avoid draw zeros in area
charts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pDraw.class.php: Fixed
pchart library bug with default value for
forcetransparency attribute. Changed from NULL
to -1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_fsgraph.php: add
to support and wip with new graph engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: Improved
legend control and added limitation in showing
xaxis data to one each 10 pixels
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: Added features to
the vertical graphs function like colors, alpha values, legend...
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/*, include/graphs/fgraph.php:
added first version of common graph libraries with Integria and Babel.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f