2011-04-14 Sergio Martin <sergio.martin@artica.es>
* 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
This commit is contained in:
parent
32a3fc977a
commit
f009394310
|
@ -1,3 +1,11 @@
|
|||
2011-04-14 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* 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 <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_graph.php: added function "graph_custom_sql_graph2".
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue