2011-03-30 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Fixed bad legend show condition git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d33b2f10d1
commit
926c4a1a3b
|
@ -1,3 +1,8 @@
|
|||
2011-03-30 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/graphs/functions_pchart.php: Fixed bad
|
||||
legend show condition
|
||||
|
||||
2011-03-30 Javier Lanz <javier.lanz@artica.es>
|
||||
* godmode/reporting/reporting_builder.item_editor.php: Removed the option
|
||||
to select 'show graph' in general reports
|
||||
|
|
|
@ -322,7 +322,7 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height, $rgb_c
|
|||
$scaleSettings = array("GridR"=>200,"GridG"=>200,"GridB"=>200,"DrawSubTicks"=>TRUE,"CycleBackground"=>TRUE, "Mode"=>SCALE_MODE_START0, "XMargin" => 40, "LabelRotation" => 90);
|
||||
$myPicture->drawScale($scaleSettings);
|
||||
|
||||
if($show_legend) {
|
||||
if(is_array($legend) && !empty($legend)) {
|
||||
/* Write the chart legend */
|
||||
$myPicture->drawLegend($height/2,$width/1.8,array("Style"=>LEGEND_NOBORDER,"Mode"=>LEGEND_HORIZONTAL));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue