2011-11-03 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Fixed graphs to adapt bottom margin with the font size and show the graphs properly when are so little git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
1b86946aa5
commit
e3d9d3b6d3
|
@ -1,3 +1,9 @@
|
|||
2011-11-03 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/graphs/functions_pchart.php: Fixed graphs to adapt bottom
|
||||
margin with the font size and show the graphs properly when are
|
||||
so little
|
||||
|
||||
2011-11-02 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions.php: added function "check_refererer" for check
|
||||
|
|
|
@ -714,7 +714,7 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height,
|
|||
$max_chars = $len;
|
||||
}
|
||||
}
|
||||
$margin_bottom = 10 * $max_chars;
|
||||
$margin_bottom = $font_size * $max_chars;
|
||||
|
||||
$water_mark_height = 0;
|
||||
$water_mark_width = 0;
|
||||
|
@ -742,7 +742,7 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height,
|
|||
"GridG"=>200,
|
||||
"GridB"=>200,
|
||||
"DrawSubTicks"=>TRUE,
|
||||
"CycleBackground"=>TRUE, "Mode"=>SCALE_MODE_START0, "LabelRotation" => 60, "XMargin" => 0);
|
||||
"CycleBackground"=>TRUE, "Mode"=>SCALE_MODE_START0, "LabelRotation" => 60, "XMargin" => 0, "MinDivHeight" => 20);
|
||||
$myPicture->drawScale($scaleSettings);
|
||||
|
||||
/* Turn on shadow computing */
|
||||
|
|
Loading…
Reference in New Issue