mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
2011-09-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fixed graphs engine to fix reports graphs swap between horizontal and vertical and pdf view for bugs 3414107 and 3414124 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5332637739
commit
5bb4f36b63
@ -1,3 +1,9 @@
|
|||||||
|
2011-09-28 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* include/functions_graph.php: Fixed graphs engine to fix
|
||||||
|
reports graphs swap between horizontal and vertical and
|
||||||
|
pdf view for bugs 3414107 and 3414124
|
||||||
|
|
||||||
2011-09-28 Sergio Martin <sergio.martin@artica.es>
|
2011-09-28 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/javascript/jquery.pandora.controls.js: Moved part
|
* include/javascript/jquery.pandora.controls.js: Moved part
|
||||||
|
@ -1455,20 +1455,20 @@ function graph_custom_sql_graph ($id, $width, $height, $type = 'sql_graph_vbar',
|
|||||||
|
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'sql_graph_vbar': // vertical bar
|
case 'sql_graph_vbar': // vertical bar
|
||||||
return hbar_graph($flash_charts, $data, $width, $height, array(),
|
|
||||||
array(), "", "", false, $homeurl,
|
|
||||||
$config['homedir'] . "/images/logo_vertical_water.png",
|
|
||||||
$config['fontpath'], $config['font_size'], false);
|
|
||||||
break;
|
|
||||||
case 'sql_graph_hbar': // horizontal bar
|
|
||||||
return vbar_graph($flash_charts, $data, $width, $height, array(),
|
return vbar_graph($flash_charts, $data, $width, $height, array(),
|
||||||
array(), "", "", $homeurl,
|
array(), "", "", $homeurl,
|
||||||
$config['homedir'] . "/images/logo_vertical_water.png",
|
$config['homedir'] . "/images/logo_vertical_water.png",
|
||||||
$config['fontpath'], $config['font_size'], false);
|
$config['fontpath'], $config['font_size'], false, $ttl);
|
||||||
|
break;
|
||||||
|
case 'sql_graph_hbar': // horizontal bar
|
||||||
|
return hbar_graph($flash_charts, $data, $width, $height, array(),
|
||||||
|
array(), "", "", $homeurl,
|
||||||
|
$config['homedir'] . "/images/logo_vertical_water.png",
|
||||||
|
$config['fontpath'], $config['font_size'], false, $ttl);
|
||||||
break;
|
break;
|
||||||
case 'sql_graph_pie': // Pie
|
case 'sql_graph_pie': // Pie
|
||||||
return pie3d_graph($flash_charts, $data, $width, $height, __("other"), $homeurl,
|
return pie3d_graph($flash_charts, $data, $width, $height, __("other"), $homeurl,
|
||||||
$config['homedir'] . "/images/logo_vertical_water.png", $config['fontpath']);
|
$config['homedir'] . "/images/logo_vertical_water.png", $config['fontpath'], '', $ttl);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user