diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index da9f784623..dead233e61 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2011-04-14 Sergio Martin + + * 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 + 2011-04-14 Miguel de Dios * include/functions_graph.php: added function "graph_custom_sql_graph2". diff --git a/pandora_console/include/graphs/fgraph.php b/pandora_console/include/graphs/fgraph.php index c36efdef51..07dad1b0f0 100755 --- a/pandora_console/include/graphs/fgraph.php +++ b/pandora_console/include/graphs/fgraph.php @@ -10,7 +10,6 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. - // If is called from index if(file_exists('include/functions.php')) { include_once('include/functions.php'); diff --git a/pandora_console/include/graphs/functions_fsgraph.php b/pandora_console/include/graphs/functions_fsgraph.php index 7091499f00..5b4530889d 100755 --- a/pandora_console/include/graphs/functions_fsgraph.php +++ b/pandora_console/include/graphs/functions_fsgraph.php @@ -282,7 +282,7 @@ function fs_line_graph($chart_data, $width, $height, $color, $legend, $long_inde $chart->setChartParams('animation=0;numVDivLines=' . $num_vlines . ';showShadow=0;showAlternateVGridColor=1;showNames=1;rotateNames=1;' . - 'lineThickness=0.1;anchorRadius=0.5;showValues=0;baseFontSize=9;showLimits=0;' . + 'lineThickness=3;anchorRadius=0.5;showValues=0;baseFontSize=9;showLimits=0;' . 'showAreaBorder=1;areaBorderThickness=0.1;areaBorderColor=000000' . ($empty == 1 ? ';yAxisMinValue=0;yAxisMaxValue=1' : '')); $random_number = uniqid(); diff --git a/pandora_console/include/graphs/functions_pchart.php b/pandora_console/include/graphs/functions_pchart.php index 2ecfa90eb9..509b645a99 100755 --- a/pandora_console/include/graphs/functions_pchart.php +++ b/pandora_console/include/graphs/functions_pchart.php @@ -605,6 +605,8 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height, $rgb_c $MyData->setPalette($point_id, $palette_color);*/ } + + $MyData->setSerieWeight($point_id, 1); } //$MyData->addPoints($data,"Yaxis");