Merge branch 'ent-1978-5343-Bugs-SQL-Graphs-Custom-Reports' into 'develop'

[Pie charts] Adding more space in legend

See merge request artica/pandorafms!1366
This commit is contained in:
vgilc 2018-03-22 09:57:28 +01:00
commit 9e4d8e12b3
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ function pch_pie_graph ($graph_type, $data_values, $legend_values, $width,
if ($legend_position != 'hidden') {
// This is a hardcore adjustment to match most of the graphs, please don't alter
$legend_with_aprox = 32 + (4.5 * $max_chars);
$legend_with_aprox = 32 + (9.5 * $max_chars);
$PieChart->drawPieLegend($width - $legend_with_aprox, 5, array("R"=>255,"G"=>255,"B"=>255, "BoxSize"=>10));
}