Merge branch 'ent-13357-sql-horizontal-bar-graph-en-pdf-no-muestra-valor-del-porcentaje-del-elemento-mas-pequeno' into 'develop'
Ent 13357 sql horizontal bar graph en pdf no muestra valor del porcentaje del elemento mas pequeno Closes pandora_enterprise#13357 See merge request artica/pandorafms!7249
This commit is contained in:
commit
66b7efc533
|
@ -3509,7 +3509,7 @@ function graph_custom_sql_graph(
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((int) $ttl === 2) {
|
if ((int) $ttl === 2) {
|
||||||
$options['dataLabel'] = ['display' => 'auto'];
|
$options['dataLabel'] = ['display' => true];
|
||||||
|
|
||||||
if ($layout !== false && is_array($layout) === true) {
|
if ($layout !== false && is_array($layout) === true) {
|
||||||
$options['layout'] = $layout;
|
$options['layout'] = $layout;
|
||||||
|
|
|
@ -6692,6 +6692,7 @@ function reporting_sql_graph(
|
||||||
switch ($type_sql_graph) {
|
switch ($type_sql_graph) {
|
||||||
case 'sql_graph_hbar':
|
case 'sql_graph_hbar':
|
||||||
default:
|
default:
|
||||||
|
$layout = ['padding' => ['right' => '40']];
|
||||||
$return['type'] = 'sql_graph_hbar';
|
$return['type'] = 'sql_graph_hbar';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue