mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
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
5bb3cbc7c6
commit
b88e45ff61
@ -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>
|
2011-04-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_graph.php: added function "graph_custom_sql_graph2".
|
* include/functions_graph.php: added function "graph_custom_sql_graph2".
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
// GNU General Public License for more details.
|
// GNU General Public License for more details.
|
||||||
|
|
||||||
|
|
||||||
// If is called from index
|
// If is called from index
|
||||||
if(file_exists('include/functions.php')) {
|
if(file_exists('include/functions.php')) {
|
||||||
include_once('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 .
|
$chart->setChartParams('animation=0;numVDivLines=' . $num_vlines .
|
||||||
';showShadow=0;showAlternateVGridColor=1;showNames=1;rotateNames=1;' .
|
';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' : ''));
|
'showAreaBorder=1;areaBorderThickness=0.1;areaBorderColor=000000' . ($empty == 1 ? ';yAxisMinValue=0;yAxisMaxValue=1' : ''));
|
||||||
|
|
||||||
$random_number = uniqid();
|
$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->setPalette($point_id, $palette_color);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$MyData->setSerieWeight($point_id, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
//$MyData->addPoints($data,"Yaxis");
|
//$MyData->addPoints($data,"Yaxis");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user